Skip to content

Fix CFFI deprecation warnings for bare struct type references#22

Closed
atgreen wants to merge 1 commit into
TeMPOraL:masterfrom
atgreen:fix-cffi-bare-struct-warnings
Closed

Fix CFFI deprecation warnings for bare struct type references#22
atgreen wants to merge 1 commit into
TeMPOraL:masterfrom
atgreen:fix-cffi-bare-struct-warnings

Conversation

@atgreen
Copy link
Copy Markdown

@atgreen atgreen commented Apr 10, 2026

Summary

  • CFFI now warns on bare struct type references (e.g. (:pointer sqlite3))
  • Updated p-sqlite3 and p-sqlite3-stmt type definitions to use (:pointer (:struct sqlite3)) and (:pointer (:struct sqlite3-stmt))
  • Eliminates two deprecation warnings at load time

Test plan

  • Load the sqlite system and verify no CFFI struct deprecation warnings

🤖 Generated with Claude Code

Use (:struct sqlite3) and (:struct sqlite3-stmt) instead of bare
sqlite3 and sqlite3-stmt in pointer type definitions, per current
CFFI conventions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@atgreen
Copy link
Copy Markdown
Author

atgreen commented Apr 10, 2026

Closing, as this is the same as #17

@atgreen atgreen closed this Apr 10, 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