Ticket #1182 (closed todo: done)
Add 'long long' to types supported by NCI
Reported by: | japhb | Owned by: | plobsing |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 1.7.0 |
Severity: | medium | Keywords: | NCI longlong |
Cc: | plobsing | Language: | |
Patch status: | Platform: | all |
Description
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 ....)
Change History
Note: See
TracTickets for help on using
tickets.