X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fnotes.xml;h=5678588f5ca058cd3e54b992e96a4986a2c01780;hb=04056dc94146f82930b5723c01455ed359bb7b28;hp=b4f143e5713a6210d8cf3e83596f1e88301b068b;hpb=92b7399d3a71e78e821f3baf42507d22ff25c31b;p=uffi.git diff --git a/doc/notes.xml b/doc/notes.xml index b4f143e..5678588 100644 --- a/doc/notes.xml +++ b/doc/notes.xml @@ -1,9 +1,14 @@ - + + +%myents; +]> - + Programming Notes - + Implementation Specific Notes @@ -24,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 @@ -41,7 +46,7 @@ - + Optimizing Code Using UFFI Background @@ -76,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)) - +