Hi! Another patch similar in spirit to the previous one.
Thanks, Ludovic.
# Bazaar revision bundle v0.9 # # message: # Slight C code generation improvements. # # * guile/g-wrap/enumerations.scm (val-array-cg): Use `static const' for # arrays of `GWEnumPair's. # # # committer: Ludovic Courtes <[EMAIL PROTECTED]> # date: Thu 2007-06-28 02:01:00.247999907 +0200 === modified file g-wrap/enumeration.scm --- g-wrap/enumeration.scm +++ g-wrap/enumeration.scm @@ -50,7 +50,7 @@ (define (val-array-cg enum) (list - "static GWEnumPair " (slot-ref enum 'val-array-name) "[] = {\n" + "static const GWEnumPair " (slot-ref enum 'val-array-name) "[] = {\n" (map (lambda (enum-val) (let ((c-sym (cdr enum-val)) === modified directory // last-changed:[EMAIL PROTECTED] ... fq3 # revision id: [EMAIL PROTECTED] # sha1: 1b7009e1bc3d1a63ee867b7d6c338e93f7cc1aca # inventory sha1: bef5e37a3b1c3335384a29e0848f4dcba35cdfff # parent ids: # [EMAIL PROTECTED] # base id: [EMAIL PROTECTED] # properties: # branch-nick: g-wrap
_______________________________________________ g-wrap-dev mailing list g-wrap-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/g-wrap-dev