remove link from platform toolbox

This commit is contained in:
altalk23 2023-09-15 14:04:12 +03:00
parent 3559064b45
commit 887f82fc1d
2 changed files with 0 additions and 2 deletions

View file

@ -4674,7 +4674,6 @@ class PlatformDownloadDelegate {
virtual void downloadFailed(char const*) {}
}
[[link(android)]]
class PlatformToolbox {
static void hideCursor() = mac 0x27c340;
static void showCursor() = mac 0x27c360;

View file

@ -112,7 +112,6 @@ std::string generateAddressHeader(Root const& root) {
continue;
}
if (codegen::getStatus(field) == BindStatus::NeedsBinding || codegen::platformNumber(field)) {
if (is_cocos_class(field.parent) && codegen::platform == Platform::Windows) {
address_str = fmt::format("base::getCocos() + 0x{:x}", codegen::platformNumber(fn->binds));