8000 Guidance for enums · Issue #13 · ktakashi/r6rs-pffi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Guidance for enums #13
Open
Open
@danielsz

Description

@danielsz

Hi,

I am just playing/exploring, but I love this library!
A question came up when I was trying to do a minimal hello world example with gtk+.
How would we represent foreign enums, like GTK_WINDOW_TOPLEVEL?
I know I can pass an int corresponding to the value of the enum, but I'm interested in the more idomatic, correct way to do this in pffi. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0