[armedbear-ticket] [armedbear] #251: CFFI callbacks don't unbox integer values

armedbear armedbear-devel at common-lisp.net
Wed Dec 19 10:43:19 UTC 2012


#251: CFFI callbacks don't unbox integer values
------------------------+---------------------------------------------------
  Reporter:  sboukarev  |       Owner:  mevenson                      
      Type:  defect     |      Status:  reopened                      
  Priority:  major      |   Milestone:  1.2.0                         
 Component:  libraries  |     Version:  1.1.0-dev                     
Resolution:             |    Keywords:  hunchentoot quicklisp cffi jna
------------------------+---------------------------------------------------

Comment(by sboukarev):

 pointerp and null-pointer-p are not related.
 The problem now with the return value from the callback.

 JNA: Callback $Proxy2 at 7dc6a657 threw the following exception:
 java.lang.ClassCastException: java.lang.Integer cannot be cast to
 java.lang.Short

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/251#comment:10>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list