2005-06-09 Kevin Rosenberg (kevin@rosenberg.net)
* tests/objects.lisp: Rename from pointers.lisp.
- Fix test CHPTR.4 as noted by Joerg Hoehle
+ Fix test CHPTR.4 as noted by Jorg Hohle
* src/objects.lisp: Remove default from ensure-char-integer
2005-06-09 Kevin Rosenberg (kevin@rosenberg.net)
allow plain filename library names to allow underlying
lisp implementation to find foreign libraries in the
locations known to the operating system.
- * tests/cast.lisp: Add :module keyword as noted by
- Joerg Hoehle.
+ * tests/cast.lisp: Add :module keyword as noted by Jorg Hohle.
* src/strings.lisp: Avoid multiple evaluation of input
- parameters for macros as noted by Joerg Hoele.
+ parameters for macros as noted by Jorg Hohle.
2005-04-12 Kevin Rosenberg (kevin@rosenberg.net)
* Version 1.4.37
(defmacro ensure-char-integer (obj)
#+(or (and mcl (not openmcl))) `(char-code ,obj)
- #+(or allegro cmu sbcl scl openmcl) obj)
+ #+(or allegro cmu sbcl scl openmcl) obj
+ #+lispworks
+ ;; lispworks varies whether deref'ing array vs. slot access of a char
+ #+lispworks
+ `(if (integerp ,obj) ,obj (char-code ,obj)))
(defmacro ensure-char-storable (obj)
#+(or lispworks (and mcl (not openmcl))) obj
(uffi:def-function "gmtime"
((time (* time-t)))
- :returning (* tm))
+ :returning (:struct-pointer tm))
(uffi:def-function "asctime"
((time (:struct-pointer tm)))