Skip to content

C: Add imports_string_dup_n function for strings with length #1437

@MendyBerger

Description

@MendyBerger

For the C bindings generator:

The current world_string_dup function only accepts null-terminated C strings. Would be great if there would also be a way to pass in a length. for strings that use explicit lengths instead of null termination.

This could be achieved either with an optional len parameter, or by adding a new function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions