X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fnotes.xml;h=5678588f5ca058cd3e54b992e96a4986a2c01780;hb=cc7b3da48f78a00cf62737f447ef9fe05a79bc37;hp=c196c1faa7cf1eaacfb1e50a35d3994eeb1112ec;hpb=6be0cb84dd1fc6a0ae9410f7ccdc34ac21ae4377;p=uffi.git diff --git a/doc/notes.xml b/doc/notes.xml index c196c1f..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)) - +