mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-13 22:16:30 +00:00
Expose JS_HasProperty
This was SVN commit r7449.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user