#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:          |  
--------------------+-------------------------------------------------------
Description changed by plobsing:

Old description:

> 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 *.

New description:

 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#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to