17 lines
247 B
Plaintext
17 lines
247 B
Plaintext
|
(ns examples.ffi.foo
|
||
|
:require '[adssa
|
||
|
[serene.ffi.libllvm]])
|
||
|
|
||
|
(defmacro deffi.....)
|
||
|
|
||
|
(ffi/deffi some-function
|
||
|
:fn-name "some_function"
|
||
|
:args {:x :i32
|
||
|
:y :char_ptr}
|
||
|
|
||
|
:return :void)
|
||
|
|
||
|
|
||
|
|
||
|
(some-function 12 "asdasd")
|