projects
/
xonotic
/
gmqcc.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make it a function
[xonotic/gmqcc.git]
/
tests
/
typedefs.qc
1
typedef void(...) ptype;
2
typedef string(float a) funcsf;
3
4
ptype print = #1;
5
funcsf ftos = #2;
6
7
void main() {
8
typedef float funcsf;
9
funcsf a;
10
a = 0;
11
print("A typedeffed function, 0=", ftos(a), "\n");
12
}