[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #541: define-external does not grok "const" quali

From: Chicken Trac
Subject: [Chicken-janitors] Re: #541: define-external does not grok "const" qualifier
Date: Sun, 10 Apr 2011 15:34:15 -0000

#541: define-external does not grok "const" qualifier
  Reporter:  sjamaan   |       Owner:  felix   
      Type:  defect    |      Status:  reopened
  Priority:  minor     |   Milestone:  4.7.0   
 Component:  compiler  |     Version:  4.6.x   
Resolution:            |    Keywords:  ffi     
Changes (by sjamaan):

  * status:  closed => reopened
  * resolution:  fixed =>


 The fix for this bug doesn't work in the general case. I think it's
 missing a strip-syntax:

 (define-syntax generate-external
   (syntax-rules ()
     ((_) (define-external
            (print_foo ((const c-string) foo))
            (print foo)))))
 ((foreign-safe-lambda* void ()

Ticket URL: <>
Chicken Scheme <>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]