- (foreign-value CODE TYPE)syntax
Evaluates the embedded C/C++ expression CODE (which may be a string or symbol), returning a value of type given in the foreign-type specifier TYPE.
(print (foreign-value "my_version_string" c-string))
Evaluates the embedded C/C++ expression CODE (which may be a string or symbol), returning a value of type given in the foreign-type specifier TYPE.
(print (foreign-value "my_version_string" c-string))