Hello, I'm trying to add support for Allegro CL (alisp, version 11, linux) to py4cl2-cffi. However, currently, with the latest CFFI, I obtain:
CL-USER(1): (asdf:load-system "cffi")
...
T
CL-USER(2): (typep "hello" 'cffi:foreign-pointer)
T
The string "hello"
being of type cffi:foreign-pointer
looks really odd. Is this as intended or is this a bug? If this is intended, is there a recommended way to make a distinction between cffi:foreign-pointer
and strings? In the context of py4cl2-cffi
, strings are python-names, which upon retrieving through dictionaries would correspond to foreign-pointers.