Skip to content

Commit 2d25a30

Browse files
committed
Fix CCKeyboardDispatcher hooking
1 parent 4a8c81a commit 2d25a30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bindings/2.2081/Cocos2d.bro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,9 @@ class cocos2d::CCKeyboardDispatcher : cocos2d::CCObject {
17481748
// bool getShiftKeyPressed() const;
17491749
// void setBlockRepeat(bool);
17501750
// CCKeyboardDispatcher(cocos2d::CCKeyboardDispatcher const&);
1751+
[[link(win, android)]]
17511752
CCKeyboardDispatcher() = imac 0x203250, m1 0x1b0168;
1753+
[[link(win, android)]]
17521754
virtual ~CCKeyboardDispatcher() = imac 0x2032d0, m1 0x1b01e0;
17531755

17541756
static cocos2d::enumKeyCodes convertKeyCode(cocos2d::enumKeyCodes) = imac 0x203870, m1 0x1b07d0;
@@ -1777,6 +1779,7 @@ class cocos2d::CCKeyboardDispatcher : cocos2d::CCObject {
17771779
[[link(win, android, ios)]]
17781780
class cocos2d::CCKeyboardHandler : cocos2d::CCObject {
17791781

1782+
[[link(win, android)]]
17801783
virtual ~CCKeyboardHandler() = imac 0x43e0b0, m1 0x3afb5c;
17811784

17821785
static cocos2d::CCKeyboardHandler* handlerWithDelegate(cocos2d::CCKeyboardDelegate*) = imac 0x43e290, m1 0x3afd24;

0 commit comments

Comments
 (0)