2 Commits

Author SHA1 Message Date
wangdl
bb0422682e fix: complete _separate function table (10→17) in out-pointer doc
Some checks failed
CI/CD Pipeline / Lint (push) Has been cancelled
CI/CD Pipeline / Test (push) Has been cancelled
CI/CD Pipeline / Build (push) Has been cancelled
CI/CD Pipeline / Release (macos-15, aarch64-apple-ios, aarch64-apple-ios) (push) Has been cancelled
CI/CD Pipeline / Release (macos-15, aarch64-apple-ios-sim, aarch64-apple-ios-sim) (push) Has been cancelled
CI/CD Pipeline / Package xcframework (push) Has been cancelled
- Add missing: build_document_info, search_epub, update_position,
  create_note_anchor, create_note_anchor_from_search
- Add memory management functions (rustbuffer_free/from_bytes)
- Organize by category: memory, parse, search, events, anchors

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 15:00:57 +08:00
wangdl
f30809c5b7 docs: add C-ABI out-pointer pattern doc (DOC-FULL-031)
- ARM64 iOS ABI limitation: struct pass-by-value unstable
- Pattern: scalar-only params, paired out-pointers, JSON serialization
- Memory management: ownership transfer, rustbuffer_free_separate
- Template: write_result_to_out_ptrs + full FFI function
- Current 10 functions using out-pointer pattern

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 14:43:53 +08:00