#172: get rid of C-strings for STRING_TYPE constants in PIRC
------------------------------+---------------------------------------------
 Reporter:  kjs               |        Owner:  kjs    
     Type:  todo              |       Status:  closed 
 Priority:  normal            |    Milestone:         
Component:  pirc              |      Version:         
 Severity:  medium            |   Resolution:  wontfix
 Keywords:  c-string, STRING  |         Lang:         
    Patch:                    |     Platform:         
------------------------------+---------------------------------------------
Changes (by plobsing):

  * status:  new => closed
  * resolution:  => wontfix


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:5>
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