7.4.1 Processing Foreign Code with the Editor
Open the file
in the LispWorks Editor. Note that the buffer is in C Mode, indicated by "(C)" in the mode line.
Use the menu command
Buffer > Evaluate
, or equivalently run
Meta+X Evaluate Buffer
A new buffer named
is created. It contains the prototype FLI definition forms generated by foreign-parser:process-foreign-file.
You can now edit the Lisp forms if necessary (note that your new buffer is in Lisp mode) and save them to file. Follow the previous example from Step This edited version passes a string using :ef-mb-string:.
LispWorks Foreign Language Interface User Guide and Reference Manual - 14 Mar 2008