aboutsummaryrefslogtreecommitdiff
path: root/param.h
AgeCommit message (Collapse)Author
2012-09-22Introduce parameter pack flavors and parameter pack backend callbacksPetr Machata
The issue this is trying to solve is that some backends (Itanium in particular) change the parameter passing convention depending on whether given parameter is part of varargs parameter or not. Therefore the backend needs to know a) that any give argument is part of parameter pack, and b) if it is, whether it's a varargs-type pack, or something else. Backends that wish to use this should add #define ARCH_HAVE_FETCH_PACK and define functions arch_fetch_param_pack_{start,end} (with the same interface as fetch_param_pack_{start,end} from fetch.h).
2012-08-29Add module param.c/param.hPetr Machata
- this allows support of parameter packs, which in particular enables re-introducing of "format" and others in a more systematic manner