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

@@ -1,6 +1,6 @@
typedef Swapper<T> {
obj Swapper<T> {
fun doit(a: T*, b: T*) : void {
var temp: T = *a;
*a = *b;