[GHC] #5061: Implement FFI spec behaviour for *CString family

GHC cvs-ghc at haskell.org
Wed Mar 30 19:51:23 CEST 2011


#5061: Implement FFI spec behaviour for *CString family
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.0.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by batterseapower):

 Replying to [comment:2 simonmar]:
 > I have some work-in-progress to provide a generic interface to
 encoding/decoding with `TextEncoding`, I'll try to get it finished up
 sometime.

 I have such functions as part of my patch, I just always call them with
 the first parameter being localeEncoding/localeEncoding_ignore. I have
 tested them and they seem to work but I'm not sure if they are what you
 have in mind here, and they could probably be faster and more efficient
 with memory.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5061#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list