Skip to content

Conversation

zhmylove
Copy link
Contributor

@zhmylove zhmylove commented Sep 1, 2025

Variable $ntype is used in T_PACKED and T_PACKEDARRAY AS-IS making impossible to use these typemaps with any types containing spaces, like 'struct Foo'. This commit replaces spaces with underscores.


  • This set of changes does not require a perldelta entry.

Variable $ntype is used in T_PACKED and T_PACKEDARRAY AS-IS making
impossible to use these typemaps with any types containing spaces,
like 'struct Foo'.  This commit replaces spaces with underscores.

Signed-off-by: Sergei Zhmylev <zhmylove@narod.ru>
@jkeenan jkeenan requested a review from iabyn September 2, 2025 22:05
@Leont
Copy link
Contributor

Leont commented Sep 3, 2025

Yeah I've hit this issue before. I'm not sure if this should be fixed in $ntype or in T_PACKED. The former will also affect other typemaps and we need to investigate if this is good or bad.

In either case, input and output maps should have the same behavior regarding $ntype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants