Changed from typedef to obj and def

This commit is contained in:
Nathan Braswell
2015-05-16 12:05:23 -04:00
parent 4bc42bc516
commit 65fd2ed9b7
27 changed files with 55 additions and 47 deletions

View File

@@ -7,11 +7,11 @@ fun retMessage(): char* {
}
fun id<T>(in: T): T { return in; }
typedef CustomObj {
obj CustomObj {
var data: int;
}
typedef CustomObjTmplt<T> {
obj CustomObjTmplt<T> {
var data: T;
}
fun inFun<T>(in: T):T {