blob: cf3d55977b7022a4767530aad38ad9ceef39f90b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
extern "C" {
typedef char* va_list;
#define va_start(ap, v) ap = (va_list)&v + sizeof(v)
#define va_arg(ap, t) ((t*)(ap += sizeof(t)))[-1]
#define va_end(ap) ap = nullptr
}
|