#1182: [TODO] Add 'long long' to types supported by NCI
--------------------+-------------------------------------------------------
Reporter: japhb | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.7.0
Severity: medium | Keywords: NCI longlong
Lang: | Patch:
Platform: all |
--------------------+-------------------------------------------------------
This is a migration of RT #53406; original request as follows:
At least MySQL and OpenGL have function prototypes either taking or
returning C<long long> or C<unsigned long long>. There is no way to
correctly handle this with Parrot's NCI signature types. Currently both
MySQL and OpenGL are just substituting C<long> instead, which will work on
64-bit architectures, but fail miserably on 32-bit arches.
(I wish we could just insist that INTVAL be 64 bits everywhere, but alas
that doesn't make a lot of sense for very memory-constrained environments.
Though those do get rarer by the day ....)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1182>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets