From 1c68b348bf7afca11ae65f06f2a9f6209534e891 Mon Sep 17 00:00:00 2001 From: jbielman Date: Fri, 10 Jun 2005 21:00:47 +0800 Subject: [PATCH] Remove this file, we have the spec instead. --- PORTING | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 PORTING diff --git a/PORTING b/PORTING deleted file mode 100644 index 3dc06b4..0000000 --- a/PORTING +++ /dev/null @@ -1,46 +0,0 @@ - -Porting CFFI to other Lisp implementations (incomplete): - -- Create a cffi-otherlisp.lisp source file to contain the platform - specific functions you are about to add. - -- Functions you must define in CFFI-SYS: - - Function: FOREIGN-ALLOC size - - Allocate SIZE bytes of memory and return a foreign pointer. - - Function: FOREIGN-FREE ptr - - Free memory allocated by FOREIGN-ALLOC. - - Macro: WITH-FOREIGN-PTR (var size &optional size-var) &body body - - Bind VAR to SIZE bytes of stack-consed memory during BODY. If the - implementation cannot support stack allocation, the macro may - allocate the memory on the heap using FOREIGN-ALLOC / - FOREIGN-FREE. If SIZE-VAR is supplied it will be bound to SIZE. - - Function: NULL-PTR - - Return a null pointer. - - Function: NULL-PTR-P ptr - - Return true if PTR is a null pointer. - - Accessor: MEM-REF-U8 ptr &optional (offset 0) - Accessor: MEM-REF-S8 ptr &optional (offset 0) - Accessor: MEM-REF-U16 ptr &optional (offset 0) - Accessor: MEM-REF-S16 ptr &optional (offset 0) - Accessor: MEM-REF-U32 ptr &optional (offset 0) - Accessor: MEM-REF-S32 ptr &optional (offset 0) - Accessor: MEM-REF-FLOAT ptr &optional (offset 0) - Accessor: MEM-REF-DOUBLE ptr &optional (offset 0) - Accessor: MEM-REF-PTR ptr &optional (offset 0) - - Low-level functions for dereferencing a pointer to various - primitive foreign types. - - Macro: %FOREIGN-FUNCALL function-name &rest args - -- 2.11.4.GIT