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

Differentiate between Long and CLong #1126

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Differentiate between Long and CLong #1126

merged 1 commit into from
Sep 26, 2024

Conversation

badcel
Copy link
Member

@badcel badcel commented Sep 25, 2024

GirModel.CLong is 32 bit on all windows platforms, 32 bit on 32 bit unix platforms and 64 bit on 64bit unix platforms. GirModel.Long ist 64 bit on all platforms.

This reverts the changes from #1067 and only adds the CLong / CULong handling for "glong" / "gulong". All other long types stay like originally intended.

Fixes #1098

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

@badcel badcel force-pushed the fix-1098 branch 2 times, most recently from 546e57f to 174d909 Compare September 26, 2024 17:47
GirModel.CLong is 32 bit on all windows platforms, 32 bit on 32 bit unix platforms and 64 bit on 64bit unix platforms. GirModel.Long ist 64 bit on all platforms.

This reverts the changes from #1067 and only adds the CLong / CULong handling for "glong" / "gulong". All other long types stay like originally intended.

Fixes #1098
@badcel badcel marked this pull request as ready for review September 26, 2024 18:02
@badcel badcel merged commit 4edc18a into main Sep 26, 2024
3 checks passed
@badcel badcel deleted the fix-1098 branch September 26, 2024 18:18
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

Successfully merging this pull request may close these issues.

gint64 array length parameters cause invalid cast error
1 participant