add xml_document ctor and dtor

This commit is contained in:
HJfod 2023-04-02 17:41:19 +03:00
parent ca3bf6516c
commit 95fb3c60c6
2 changed files with 6 additions and 1 deletions
bindings
codegen/src

View file

@ -1091,4 +1091,9 @@ class DS_Dictionary {
void setIntegerForKey(char const*, int) = mac 0xc26b0;
}
class pugi::xml_document {
xml_document() = mac 0x393a80;
~xml_document() = mac 0x393b50;
}
// clang-format on

View file

@ -52,7 +52,7 @@ inline bool can_find(std::string const& str, char const* text) {
}
inline bool is_cocos_class(std::string const& str) {
return can_find(str, "cocos2d") || str == "DS_Dictionary";
return can_find(str, "cocos2d") || can_find(str, "pugi::") || str == "DS_Dictionary";
}
enum class BindStatus {