Skip to content

python: Refactor ctypes library loading and memory management - #87

Open
zxzxwu wants to merge 2 commits into
google:mainfrom
zxzxwu:improve-ctypes
Open

python: Refactor ctypes library loading and memory management#87
zxzxwu wants to merge 2 commits into
google:mainfrom
zxzxwu:improve-ctypes

Conversation

@zxzxwu

@zxzxwu zxzxwu commented Aug 27, 2026

Copy link
Copy Markdown
Contributor
  • Cache library loading and configure ctypes function signatures once
  • Support LIBLC3_PATH and multi-platform library search paths (.so, .dylib, .dll)
  • Use Python GC-managed buffers instead of manual libc malloc/free
  • Fix docstring typos

@zxzxwu
zxzxwu force-pushed the improve-ctypes branch 3 times, most recently from be52fce to d5dedfe Compare August 27, 2026 11:33
- Cache library loading and configure ctypes function signatures once
- Support LIBLC3_PATH and multi-platform library search paths (.so, .dylib, .dll)
- Use Python GC-managed buffers instead of manual libc malloc/free
- Fix docstring typos
- Test python wrapper and basic_test across Linux, macOS, and Windows matrix
- Migrate optional-dependencies to dependency-groups in pyproject.toml
@zxzxwu
zxzxwu force-pushed the improve-ctypes branch 3 times, most recently from 5d03625 to 6a0ce13 Compare August 27, 2026 13:31
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