+2005-09-17 Kevin Rosenberg (kevin@rosenberg.net)
+ * Version 1.5.2
+ * src/objects.lisp: prepend _ character for entry
+ point on macosx as noted by Luis Oliveira
+
2005-07-05 Kevin Rosenberg (kevin@rosenberg.net)
* Version 1.5.0
* Remove vestigial LLGPL license notices as UFFI as been
+cl-uffi (1.5.2-1) unstable; urgency=low
+
+ * New upstream
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Sat, 17 Sep 2005 22:48:11 -0600
+
cl-uffi (1.5.1-1) unstable; urgency=low
* New upstream
'(error "WITH-CAST-POINTER not (yet) implemented for ~A"
(lisp-implementation-type)))
+ (defmacro convert-external-name (name)
+ "Add an underscore to NAME if necessary for the ABI."
+ #+macosx `(concatenate 'string "_" ,name)
+ #-macosx name)
+
(defmacro def-foreign-var (names type module)
#-lispworks (declare (ignore module))
(let ((foreign-name (if (atom names) names (first names)))
#+allegro
`(define-symbol-macro ,lisp-name
(ff:fslot-value-typed (quote ,(convert-from-uffi-type type :deref))
- :c (ff:get-entry-point ,foreign-name)))
+ :c (convert-external-name (ff:get-entry-point ,foreign-name))))
#+lispworks
`(progn
(fli:define-foreign-variable (,lisp-name ,foreign-name)