X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-allocate.lisp;h=702fe5e07a424d22cd674efecaa0d30a7bbbefe9;hb=d720bc359f03734ccb9baf66cb45dc01d623f369;hp=37d654013f2c202c25fee9fce1c89f246cfe7484;hpb=21223eedf790450dc484907c2bedf2b9bdaa80bf;p=sbcl.git diff --git a/src/code/target-allocate.lisp b/src/code/target-allocate.lisp index 37d6540..702fe5e 100644 --- a/src/code/target-allocate.lisp +++ b/src/code/target-allocate.lisp @@ -11,22 +11,11 @@ (in-package "SB!KERNEL") -(sb!alien:def-alien-routine ("os_allocate" allocate-system-memory) - system-area-pointer - (bytes sb!c-call:unsigned-long)) +(sb!alien:define-alien-routine ("os_allocate" allocate-system-memory) + system-area-pointer + (bytes sb!alien:unsigned-long)) -(sb!alien:def-alien-routine ("os_allocate_at" allocate-system-memory-at) - system-area-pointer - (address system-area-pointer) - (bytes sb!c-call:unsigned-long)) - -(sb!alien:def-alien-routine ("os_reallocate" reallocate-system-memory) - system-area-pointer - (old system-area-pointer) - (old-size sb!c-call:unsigned-long) - (new-size sb!c-call:unsigned-long)) - -(sb!alien:def-alien-routine ("os_deallocate" deallocate-system-memory) - sb!c-call:void +(sb!alien:define-alien-routine ("os_deallocate" deallocate-system-memory) + sb!alien:void (addr system-area-pointer) - (bytes sb!c-call:unsigned-long)) + (bytes sb!alien:unsigned-long))