Mercurial > projects > ldc
view lphobos/std/c/stdarg.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | 0ccfae271c45 |
children | 373489eeaf90 |
line wrap: on
line source
/** * C's <stdarg.h> * Authors: Hauke Duden, Walter Bright and Tomas Lindquist Olsen, Digital Mars, www.digitalmars.com * License: Public Domain * Macros: * WIKI=Phobos/StdCStdarg */ /* This is for use with extern(C) variable argument lists. */ module std.c.stdarg; public import llvm.va_list; pragma(LLVM_internal, "va_start") void va_start(T)(va_list ap, ref T); pragma(LLVM_internal, "va_arg") T va_arg(T)(va_list ap); pragma(LLVM_internal, "va_intrinsic", "llvm.va_end") void va_end(va_list args); pragma(LLVM_internal, "va_intrinsic", "llvm.va_copy") void va_copy(va_list dst, va_list src);