Java - unsigned long long marshalling improvements for negative numbers
Affects marshalling of negative numbers from Java to C only. A cast to signed long long in the C layer will now result in the expected value. Closes #623.
This commit is contained in:
parent
8322686e84
commit
a15bbbaee5
5 changed files with 90 additions and 14 deletions
|
|
@ -38,3 +38,9 @@ unsigned long long ull;
|
|||
|
||||
#define lconst5 987654321LL
|
||||
#define lconst6 987654321ULL
|
||||
|
||||
%inline %{
|
||||
long long UnsignedToSigned(unsigned long long ull) {
|
||||
return (long long)ull;
|
||||
}
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue