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