Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_callvm_mips_eabi.h @ 84:67961454902b
- bigger cleanup in callvm code
* changed init of most callvms to reuse code and for consistency
* removed unused functions
* general changes for consistency
* added some missing cconv defines do mode calls
- fixed potential buffer overrun on arm64
- fixed sparc and x64 mode setting (only one mode, but wasn't (pointlessly) resettable)
- error code handling (dcGetError) changes, flag is now cleared (work still underway)
- Changelog update
author | cslag |
---|---|
date | Wed, 06 Apr 2016 00:21:51 +0200 |
parents | 3e629dc19168 |
children | f5577f6bf97a |
comparison
equal
deleted
inserted
replaced
83:54930a037e8a | 84:67961454902b |
---|---|
43 | 43 |
44 #include "dyncall_call_mips_eabi.h" | 44 #include "dyncall_call_mips_eabi.h" |
45 #include "dyncall_callvm.h" | 45 #include "dyncall_callvm.h" |
46 #include "dyncall_vector.h" | 46 #include "dyncall_vector.h" |
47 | 47 |
48 | |
49 typedef struct | 48 typedef struct |
50 { | 49 { |
51 DCCallVM mInterface; | 50 DCCallVM mInterface; |
52 int mIntRegs; | 51 int mIntRegs; |
53 int mSingleRegs; | 52 int mSingleRegs; |
54 struct DCRegData_mips_eabi mRegData; | 53 struct DCRegData_mips_eabi mRegData; |
55 DCVecHead mVecHead; | 54 DCVecHead mVecHead; |
56 } DCCallVM_mips_eabi; | 55 } DCCallVM_mips_eabi; |
57 | 56 |
58 DCCallVM* dcNewCallVM_mips_eabi(DCsize size); | |
59 | |
60 | |
61 #endif /* DYNCALL_CALLVM_MIPS_EABI_H */ | 57 #endif /* DYNCALL_CALLVM_MIPS_EABI_H */ |
62 | 58 |