implemented locking levels; still incomplete

This commit is contained in:
Araq 2014-09-27 15:06:06 +02:00
commit d576fbb39a
7 changed files with 58 additions and 19 deletions

View file

@ -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)