Skip to content

try to clarify set_source() requires str(<code that implements functions>)

Bitbucket Importer requested to merge branch/doc-set_source into branch/default

Created originally on Bitbucket by mattip

There seems to be confusion about what exactly needs to go into set_source() and cdef(). This stackoverflow question examplifies what I encounter when teaching cffi.

I tried to make the toy example more realistic and document using the language of C coders - "declarations" and "implementation". Any thoughts?

Merge request reports