summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-17thunk: default to static for everythingVito Caputo
If there comes a time when this is an issue, selector may be added and a separate declaration macro provided. For now, it appears static use is generally the appropriate thing to do.
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