We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to write some raylib bindings i have discovered that having a single c-define in your library generates a compiler error:
code:
;; raylib/main.sld (define-library (raylib main) (export init-window) (import (scheme base) (scheme write) (cyclone foreign)) (include-c-header "<raylib.h>") (c-linker-options "-lraylib") (begin (c-define init-window c-void "InitWindow" int int string)))
error:
Error: (Unhandled expansion (define-c init-window (void *data, int argc, closure _, object k , object arg_738, object arg_7315, object arg_7322) Cyc_check_fixnum(data,arg_738);Cyc_check_fixnum(data,arg_7315);Cyc_check_str(data,arg_7322);InitWindow(obj_obj2int(arg_738),obj_obj2int(arg_7315),string_str(arg_7322));return_closcall1(data, k, Cyc_VOID);)):
adding something else to the library, for example (define test 2), makes the error go away
(define test 2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to write some raylib bindings i have discovered that having a single c-define in your library generates a compiler error:
code:
error:
adding something else to the library, for example
(define test 2)
, makes the error go awayThe text was updated successfully, but these errors were encountered: