Skip to content

What is CStr? #3827

@van-de-bugger

Description

@van-de-bugger

sub explicitly-manage:

sub explicitly-manage($str) is export(:DEFAULT)

This returns a CStr object for the given Str. If the string returned is passed to a NativeCall subroutine, it will not be freed by the runtime's garbage collector.

What is CStr? It appears only once in Raku documentation, on this page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation issue (primary issue type)newpart of "docs" - indicates that this documentation is for a new, currently undoc'd section

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions