[fetter-devel] Patch for long long handling

Christian Lynbech christian.lynbech at ericsson.com
Fri Oct 6 14:03:58 UTC 2006


I have been checkiout verazano and stumbled across a light annoyance
in the handling of long-longs which the diff below attempts to solve,
on the odd chance that anybody else is still using this library.

    Index: verrazano/cffi-backend/types.lisp
    ===================================================================
    RCS file: /project/fetter/cvsroot/verrazano/cffi-backend/types.lisp,v
    retrieving revision 1.7
    diff -u -u -r1.7 types.lisp
    --- verrazano/cffi-backend/types.lisp	4 Dec 2005 08:45:16 -0000	1.7
    +++ verrazano/cffi-backend/types.lisp	5 Sep 2006 13:25:16 -0000
    @@ -14,8 +14,9 @@
         ("short int" . ":short")
         ("short unsigned int" . ":short")
         ("long int" . ":long")
    -    ("long long int" . ":long")
    -    ("unsigned long long int" . ":long")
    +    ("long long int" . ":long-long")
    +    ("unsigned long long int" . ":unsigned-long-long")
    +    ("long long unsigned int" . ":unsigned-long-long")
         ("unsigned int" . ":unsigned-int")
         ("long unsigned int" . ":unsigned-long")
         ("float" . ":float")


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic at hal.com (Michael A. Petonic)



More information about the fetter-devel mailing list