implemented locking levels; still incomplete
This commit is contained in:
parent
1088814e56
commit
d576fbb39a
7 changed files with 58 additions and 19 deletions
|
|
@ -141,9 +141,11 @@ __clang__
|
|||
/* these compilers have a fastcall so use it: */
|
||||
# define N_NIMCALL(rettype, name) rettype __fastcall name
|
||||
# define N_NIMCALL_PTR(rettype, name) rettype (__fastcall *name)
|
||||
# define N_RAW_NIMCALL __fastcall
|
||||
#else
|
||||
# define N_NIMCALL(rettype, name) rettype name /* no modifier */
|
||||
# define N_NIMCALL_PTR(rettype, name) rettype (*name)
|
||||
# define N_RAW_NIMCALL
|
||||
#endif
|
||||
|
||||
#define N_CLOSURE(rettype, name) N_NIMCALL(rettype, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue