summaryrefslogtreecommitdiff
path: root/thunk.h
AgeCommit message (Collapse)Author
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