Mercurial > pub > dyncall > dyncall
diff dyncall/dyncall_call_mips_n32.h @ 131:21537652361e
- fixed mips64 n32 build (not sure if working, though)
- cosmetics, comments cleanups
author | cslag |
---|---|
date | Thu, 07 Jul 2016 14:51:30 +0200 |
parents | 3e629dc19168 |
children | f5577f6bf97a |
line wrap: on
line diff
--- a/dyncall/dyncall_call_mips_n32.h Wed Jul 06 20:07:08 2016 +0200 +++ b/dyncall/dyncall_call_mips_n32.h Thu Jul 07 14:51:30 2016 +0200 @@ -3,10 +3,10 @@ Package: dyncall Library: dyncall File: dyncall/dyncall_call_mips_n32.h - Description: mips "n32" ABI call-kernel C interface. + Description: mips64 "n32" ABI call-kernel C interface. License: - Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2016 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -52,12 +52,13 @@ struct DCRegData_mips_n32 { - DClonglong mIntData[8]; + DClonglong mIntData[8]; union { DCfloat f; DCdouble d; } mFloatData[8]; - DClonglong mUseDouble; /* bitmask: lower 8 bits specifies to use float or double from union array. */ + DClonglong mUseDouble; /* bitmask: lower 8 bits specify to use float or double from union array. */ }; void dcCall_mips_n32(DCpointer target, struct DCRegData_mips_n32* regdata, DCsize stksize, DCpointer stkdata); +/* @@@ this is the same as n64, combine code */ #ifdef __cplusplus }