mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +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");
|
|
}
|