Expose JS_HasProperty

This was SVN commit r7449.
This commit is contained in:
Ykkrosh
2010-04-09 18:45:28 +00:00
parent 1fa8052cbe
commit cf48ff0588
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -130,6 +130,8 @@ public:
template<typename T>
bool GetProperty(jsval obj, const char* name, T& out);
bool HasProperty(jsval obj, const char* name);
bool EnumeratePropertyNamesWithPrefix(jsval obj, const char* prefix, std::vector<std::string>& out);
bool SetPrototype(jsval obj, jsval proto);