Skip to content

Remove dependency on libffi#31

Open
SuperDisk wants to merge 1 commit into
Failproofshark:masterfrom
SuperDisk:no-libffi
Open

Remove dependency on libffi#31
SuperDisk wants to merge 1 commit into
Failproofshark:masterfrom
SuperDisk:no-libffi

Conversation

@SuperDisk
Copy link
Copy Markdown

This library pulls in cffi-libffi but only uses it to pass an SDL_Color to the rendering functions. The SDL docs state that

The bits of this structure can be directly reinterpreted as an integer-packed color

which means that we can avoid the dependency on libffi by just passing it as a packed int.

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