home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2437 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  801 b 

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!cgi.com!goldstei
  2. From: goldstei@cgi.com ("Morris Goldstein")
  3. Newsgroups: comp.lang.lisp
  4. Subject: Examples using foreign functions
  5. Message-ID: <9209151434.AA11641@ult9>
  6. Date: 15 Sep 92 14:34:24 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Lines: 16
  9.  
  10. We are replacing a component of our Lucid Lisp based application with
  11. a library written in C and are struggling with the foreign function
  12. interface.  In particular, we need to call lisp functions from C and
  13. return a value to the caller that could be any one of the following:
  14.  
  15.     integer
  16.     string
  17.     real
  18.     list
  19.  
  20. Where a list can contain elements of any of the above types.  Any
  21. example code and suggestions would be muchly appreciated.
  22.  
  23. Thanks,
  24.  
  25.     -Morris
  26.