mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
Merge branch 'main' of https://github.com/geode-sdk/geode into main
This commit is contained in:
commit
2d278ea641
1 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,11 @@ std::string generateBindingSource(Root& root) {
|
|||
} else if (auto fn = f.get_as<FunctionBindField>()) {
|
||||
if (codegen::getStatus(f) != BindStatus::NeedsBinding)
|
||||
continue;
|
||||
|
||||
// no cocos2d definitions on windows
|
||||
if (codegen::platform == Platform::Windows && f.parent.rfind("cocos2d::", 0) == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
char const* used_declare_format;
|
||||
|
||||
|
|
Loading…
Reference in a new issue