NCI 't' parameter type removed; no replacement?
Patrick R. Michaud
pmichaud at pobox.com
Fri May 13 17:55:04 UTC 2011
On Fri, May 13, 2011 at 10:21:36AM -0400, Peter Lobsinger wrote:
> On Fri, May 13, 2011 at 7:24 AM, Jonathan Worthington
> To update your code, I would recommend making use of
> Parrot_str_to_cstring/Parrot_str_free_cstring. These can be accessed
> from HLL code using the NCI interface.
> [...]
> Some of the code that was updated did make use of the 't' signature
> type. These updates usually followed the advice given above. pcre, for
> example, would be useless if not for its ability to operate on
> strings.
Passing C-strings to NCI functions seems like it would be such a
common operation that I'm surprised that Parrot isn't offering native
support for it.
Pm
More information about the parrot-dev
mailing list