Use another language to call a function: Difference between revisions
Use another language to call a function (view source)
Revision as of 17:19, 8 June 2017
, 6 years ago→{{header|TXR}}
(→{{header|TXR}}: Deal accurately with buffer.) |
m (→{{header|TXR}}) |
||
Line 1,119:
To accurately deal with this kind of situation accurately, the lower level <code>carray</code> FFI type can be used:
<lang txrlisp>;; callback signature is altered to take "carray of char":▼
▲;; callback signature is altered to take "carray of char":
(deffi-cb query-cb int ((carray char) (ptr size-t)))
|