X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fnotes.xml;h=5678588f5ca058cd3e54b992e96a4986a2c01780;hb=1e5809bc5e68d9f1f5a676fa24253b3b95d490ac;hp=1ebbb1a5c641b7eafe8b467ddf3da58423a7fed7;hpb=c5115898210dbfa357c208c1bfe58049f7d6ff6d;p=uffi.git diff --git a/doc/notes.xml b/doc/notes.xml index 1ebbb1a..5678588 100644 --- a/doc/notes.xml +++ b/doc/notes.xml @@ -1,14 +1,14 @@ - + + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + %myents; ]> Programming Notes - + Implementation Specific Notes @@ -29,7 +29,7 @@ - + Foreign Object Representation and Access There are two main approaches used to represent foreign objects: an integer that represents an address in memory, and a @@ -46,7 +46,7 @@ - + Optimizing Code Using UFFI Background @@ -81,12 +81,12 @@ Here is an example that should both methods being used for maximum cross-implementation optimization: - + (uffi:def-type the-struct-type-def the-struct-type) (let ((a-foreign-struct (allocate-foreign-object 'the-struct-type))) (declare 'the-struct-type-def a-foreign-struct) (get-slot-value a-foreign-struct 'the-struct-type 'field-name)) - +