mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 23:51:46 +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");
|
||
|
}
|