mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 23:51:54 +00:00
Expose JS_HasProperty
This was SVN commit r7449.
This commit is contained in:
1 parent
1fa8052cbe
commit
cf48ff0588
2 files changed
+14
No files matched your search
@@ -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