-
Notifications
You must be signed in to change notification settings - Fork 150
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
Automatic struct padding detection #74
Comments
@pperidont can you check that this fixes the problem you had with OSX ? |
alohner
pushed a commit
to playdigious/hashlink
that referenced
this issue
Sep 21, 2017
* 'master' of https://github.com/HaxeFoundation/hashlink: Fixed hl_sys_read_dir (HaxeFoundation#75) added hl_pad_struct (close HaxeFoundation#74) allow to print dx error messages dynamically detect sizeof(bool) SDL & DirectX additions (HaxeFoundation#72) [TravisCI] use Docker to test linux64 too # Conflicts: # src/hl.h
alohner
pushed a commit
to playdigious/hashlink
that referenced
this issue
Sep 21, 2017
* master: Fixed hl_sys_read_dir (HaxeFoundation#75) added hl_pad_struct (close HaxeFoundation#74) allow to print dx error messages dynamically detect sizeof(bool) SDL & DirectX additions (HaxeFoundation#72) [TravisCI] use Docker to test linux64 too
ncannasse
added a commit
that referenced
this issue
Jul 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need obj fields and enum fields to match C compiler alignment (for C interaction + HL/C reflection). It is necessary to replace some
hl_pad_size
byhl_pad_struct
and perform compile time alignment check.ex: apple 32 bits, double are not aligned on 64 bits, etc.
The text was updated successfully, but these errors were encountered: