vendor/v8/src/version.h in mustang-0.0.1 vs vendor/v8/src/version.h in mustang-0.1.0
- old
+ new
@@ -44,16 +44,20 @@
static void GetString(Vector<char> str);
// Calculate the SONAME for the V8 shared library.
static void GetSONAME(Vector<char> str);
+ static const char* GetVersion() { return version_string_; }
+
private:
+ // NOTE: can't make these really const because of test-version.cc.
static int major_;
static int minor_;
static int build_;
static int patch_;
static bool candidate_;
static const char* soname_;
+ static const char* version_string_;
// In test-version.cc.
friend void SetVersion(int major, int minor, int build, int patch,
bool candidate, const char* soname);
};