Mercurial > pub > dyncall > dyncall
diff dyncallback/dyncall_args_mips.h @ 109:9e677d4c0b6b
- mips comment cleanups
- mips callback args prep for non-o32
author | cslag |
---|---|
date | Sat, 11 Jun 2016 21:44:38 +0200 |
parents | dbca6763f2be |
children | 9aa75a74614c |
line wrap: on
line diff
--- a/dyncallback/dyncall_args_mips.h Sat Jun 11 21:38:46 2016 +0200 +++ b/dyncallback/dyncall_args_mips.h Sat Jun 11 21:44:38 2016 +0200 @@ -33,13 +33,15 @@ { /* Don't change order! */ #if defined(DC__ABI_MIPS_O32) - int freg_count; + DCint freg_count; #else -# define DCARGS_MIPS_PARAM_REGS 8 - struct { int i; float f; } reg_data[DCARGS_MIPS_PARAM_REGS]; - struct { int i; int f; } reg_count; +# define DCARGS_MIPS_NUM_IREGS 8 +# define DCARGS_MIPS_NUM_FREGS 8 + DCint ireg_data[DCARGS_MIPS_NUM_IREGS]; + DCfloat freg_data[DCARGS_MIPS_NUM_FREGS]; + struct { DCshort i; DCshort f; } reg_count; #endif - unsigned char* stackptr; + unsigned DCchar* stackptr; }; #endif /* DYNCALLBACK_ARGS_MIPS_H */