X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fnotes.xml;h=7d6d366cbe3175fc024d906bd525cc19a235c2a4;hb=1167a11982234502840f153abf3187eaa0faac31;hp=1ebbb1a5c641b7eafe8b467ddf3da58423a7fed7;hpb=c5115898210dbfa357c208c1bfe58049f7d6ff6d;p=uffi.git diff --git a/doc/notes.xml b/doc/notes.xml index 1ebbb1a..7d6d366 100644 --- a/doc/notes.xml +++ b/doc/notes.xml @@ -1,6 +1,6 @@ - + %myents; ]> @@ -8,7 +8,7 @@ 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)) - +