mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-11 04:51:24 +00:00
13 lines
223 B
C++
13 lines
223 B
C++
|
typedef void(string, ...) 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");
|
||
|
}
|