X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-allocate.lisp;h=40c6b0fb410fc784d0f97e1d529dee350d5391be;hb=f77e81ba7736fc7df9ca7d37b93f662f36dae39f;hp=37d654013f2c202c25fee9fce1c89f246cfe7484;hpb=21223eedf790450dc484907c2bedf2b9bdaa80bf;p=sbcl.git diff --git a/src/code/target-allocate.lisp b/src/code/target-allocate.lisp index 37d6540..40c6b0f 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)) -(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))