Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Problem HL/C #716

Open
barisyild opened this issue Oct 8, 2024 · 2 comments
Open

Compile Problem HL/C #716

barisyild opened this issue Oct 8, 2024 · 2 comments

Comments

@barisyild
Copy link

Haxe Code:
https://github.com/boorik/smartfox-haxe-client/blob/d7a10b57dc389bef19eab7508480cbd9df4739d4/com/smartfoxserver/v2/SmartFox.hx#L939

https://github.com/boorik/smartfox-haxe-client/blob/d7a10b57dc389bef19eab7508480cbd9df4739d4/com/smartfoxserver/v2/core/SFSEvent.hx#L54

C Output:

r13 = (com__smartfoxserver__v2__core__$SFSEvent)g$da560e3;
r7 = r13->HANDSHAKE;

Error:

Export/hl/obj\com/smartfoxserver/v2/SmartFox.c(351): error C2037: left of 'HANDSHAKE' specifies undefined struct/union '_com__smartfoxserver__v2__core__$SFSEvent'
@yuxiaomao
Copy link
Collaborator

Could you provide a minimal example?

@barisyild
Copy link
Author

Could you provide a minimal example?

The library link is already above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants