summaryrefslogtreecommitdiff
path: root/example.c
AgeCommit message (Collapse)Author
2020-11-04thunk: s/THUNK_DEFINE/THUNK_DEFINE_STATIC/Vito Caputo
In preparation for supporting both public and private thunk defines, convert the current assumed-private one to use a _STATIC suffix.
2016-06-04thunk: initial commitVito Caputo
Something I slapped together in the interests of mechanizing the creation of thunks in C. In this context a thunk is simply a helper function that serves to normalize the calling convention of functions having potentially varying arity. This code has not been used in anything yet, I just put it together because I anticipate using it soon based on some projects I've been thinking about. example.c contains a trivial usage example.
© All Rights Reserved