[cffi-devel] Cosmetic changes to grovel/c-write
Hello, I found that c-write was producing code in a weird style with parentheses in odd places (yes it still works): -------------------------------------------------------------------------------------------- (cffi:defcunion (spnav-event :size 40) (type :int ) (motion (:struct spnav-event-motion) ) (button (:struct spnav-event-button) )) -------------------------------------------------------------------------------------------- instead of the more reasonable: -------------------------------------------------------------------------------------------- (cffi:defcunion (spnav-event :size 40) (type :int) (motion (:struct spnav-event-motion)) (button (:struct spnav-event-button))) -------------------------------------------------------------------------------------------- The attached patch makes some minor changes to the function c-write and adds the option of passing no-package to c-print-symbol down the call stack. Akshay
On Sat, Feb 16, 2013 at 7:47 PM, Akshay Srinivasan <akshaysrinivasan@gmail.com> wrote:
The attached patch makes some minor changes to the function c-write and adds the option of passing no-package to c-print-symbol down the call stack.
Applied, thanks! -- Luís Oliveira http://r42.eu/~luis/
participants (2)
-
Akshay Srinivasan
-
Luís Oliveira