mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added TODO items for c-define
This commit is contained in:
parent
ab6ee6c16d
commit
1c7e03e9d1
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,13 @@
|
|||
)
|
||||
|
||||
;; Must be top-level
|
||||
(c-define scm-strlen "int" "strlen" string)
|
||||
|
||||
TODO: support custom types (arg and ret) for c-define.
|
||||
Also need to be able to support arg/ret convert optional type arguments
|
||||
Would need to generate scheme wrappers to handle these conversions
|
||||
|
||||
(c-define scm-strlen my-integer "strlen" string)
|
||||
;(c-define scm-strlen "int" "strlen" string)
|
||||
(c-define scm-strlend double "strlen" string)
|
||||
|
||||
(test-group "foreign lambda"
|
||||
|
|
Loading…
Add table
Reference in a new issue