chiark / gitweb /
Bug fix (function name included in declarations)
authorespen <espen>
Wed, 8 Oct 2008 16:34:07 +0000 (16:34 +0000)
committerespen <espen>
Wed, 8 Oct 2008 16:34:07 +0000 (16:34 +0000)
gffi/interface.lisp

index 72aa21b3bf91340ba98b88e22c03b33ba27f9c03..6b249a3feeb10a3442d7b7f876975f14fdcc5ca3 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: interface.lisp,v 1.8 2007-11-29 18:37:14 espen Exp $
+;; $Id: interface.lisp,v 1.9 2008-10-08 16:34:07 espen Exp $
 
 (in-package "GFFI")
 
@@ -216,7 +216,8 @@ (defun %defbinding (cname lisp-name lambda-list declare-p arg-types aux-bindings
                     when (out-arg-p style)
                     collect (return-type out-type)
                     when (return-arg-p style)
-                    collect (return-type type)))))))
+                    collect (return-type type))))
+               ,lisp-name)))
          (defun ,lisp-name ,lambda-list
          ,doc
          (let ,aux-bindings