mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
12 lines
219 B
C++
12 lines
219 B
C++
typedef void(...) ptype;
|
|
typedef string(float) funcsf;
|
|
|
|
ptype print = #1;
|
|
funcsf ftos = #2;
|
|
|
|
void main() {
|
|
typedef float funcsf;
|
|
funcsf a;
|
|
a = 0;
|
|
print("A typedeffed function, 0=", ftos(a), "\n");
|
|
}
|