[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Returning strings from C - solved!
- To: firstname.lastname@example.org
- Subject: Returning strings from C - solved!
- From: bloch@informatics.WUstl.EDU (Charlene Bloch Abrams)
- Date: Fri, 26 Jul 91 15:08:57 CDT
Thanks to the two people who responded to my original request. I used
neither solution, though both were considered. This is what I did:
(deffcfun (..) (..) :ptr)
and use %get-string to get the pascal string at which the return value
points. In C, use c2pstr to return a pascal string.
It was quite easy (once we figured it out!)