Skip to content

Fix C example string duplication for Linux wheels - #832

Closed
hongzhi-gao wants to merge 1 commit into
apache:developfrom
hongzhi-gao:fix/linux-wheel-c-example-strdup
Closed

hongzhi-gao wants to merge 1 commit into
apache:developfrom
hongzhi-gao:fix/linux-wheel-c-example-strdup

Conversation

@hongzhi-gao

Copy link
Copy Markdown
Contributor

Summary

  • replace POSIX strdup usage in the C write example with a local malloc/memcpy helper
  • avoid implicit declaration errors when compiling the example as C11 in manylinux wheel builds

Verification

@hongzhi-gao hongzhi-gao closed this Jun 9, 2026
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.

1 participant