+
Skip to content

On Allegro CL 11 (linux, alisp): literal strings are foreign-pointers #407

@digikar99

Description

@digikar99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载