[Parrot] #172: get rid of C-strings for STRING_TYPE constants in PIRC

Parrot parrot-tickets at lists.parrot.org
Wed Jan 14 10:14:40 UTC 2009


#172: get rid of C-strings for STRING_TYPE constants in PIRC
--------------------+-------------------------------------------------------
 Reporter:  kjs     |       Owner:  kjs             
     Type:  todo    |      Status:  new             
 Priority:  normal  |   Milestone:                  
Component:  pirc    |     Version:                  
 Severity:  medium  |    Keywords:  c-string, STRING
     Lang:          |       Patch:                  
 Platform:          |  
--------------------+-------------------------------------------------------
 strings are stored in PIRC as c-strings, just arrays of bytes. I should
 get rid of my stubbornness, and just convert c-strings immediately to
 STRINGs in the lexer.

 (It might even simplify some code)

 This is necessary as PIRC needs some functionality that only deals with
 (or returns) STRINGs, not char *.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/172>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development


More information about the parrot-dev mailing list