[cffi-devel] C to Lisp

2013-11-27 Thread Greg Bennett
Good morning, I (think I) might be close to getting a result in having a C function return its output to Lisp. I shall be very grateful for comments and corrections to what I have done, and thank readers for their patience. Here is the C-function from which I wish to get the result Hello Lisp

Re: [cffi-devel] C to Lisp

2013-11-27 Thread Stephan Frank
your Hell-function has return value void so there is no return (apart from that return 0 that should not be there), hence the NIL. Printf prints to stdout so maybe you just didn't see it? On 27.11.2013 17:41, Greg Bennett wrote: Good morning, I (think I) might be close to getting a result in

Re: [cffi-devel] C to Lisp

2013-11-27 Thread Stas Boukarev
Greg Bennett gwbenn...@sentex.ca writes: Good morning, I (think I) might be close to getting a result in having a C function return its output to Lisp. I shall be very grateful for comments and corrections to what I have done, and thank readers for their patience. Here is the C-function