cvs commit: fptools/hdirect/src MarshallFun.lhs

Sigbjorn Finne <[email protected]> Mon, 12 Apr 2004 15:13:33 -0700
Newsgroups gmane.comp.lang.haskell.cvs.hdirect
Message-ID <[email protected]>
sof         2004/04/12 15:13:33 PDT

  Modified files:
    hdirect/src          MarshallFun.lhs 
  Log:
  -marshallFun:
    define the exported _proxy function at the same type it's "foreign export"ed as.
    Fixes bug which prevented proxy code for methods taking string args,
  
       int foo([in,string]char* s);
  
    from compiling straight.
  
    [Strings aren't used that directly in COM servers, which is why this bug hasn't
     surfaced before]
  
  Caveat: it's been years since I last looked at this code...but the change appears
    reasonable and unlikely to cause other breakages..
  
  Revision  Changes    Path
  1.23      +5 -3      fptools/hdirect/src/MarshallFun.lhs