Mercurial > projects > ldc
view lphobos/std/stdarg.d @ 65:d4a678905d5e trunk
[svn r69] forgot std.stdarg
author | lindquist |
---|---|
date | Fri, 26 Oct 2007 15:14:51 +0200 |
parents | |
children | fb265a6efea1 |
line wrap: on
line source
/* * Placed in public domain. * Written by Hauke Duden and Walter Bright */ /* This is for use with variable argument lists with extern(D) linkage. */ module std.stdarg; alias void* va_list; T va_arg(T)(inout va_list vp) { va_list vptmp = vp; vp += T.sizeof; return *cast(T*)vptmp; }