mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -7,7 +7,7 @@ struct Foo
|
||||
int x;
|
||||
}
|
||||
|
||||
macro void Foo.@hello(Foo* &this) { this.x = 3; printf("-%d\n", this.x); }
|
||||
macro void Foo.@hello(&this) { this.x = 3; printf("-%d\n", this.x); }
|
||||
macro void Foo.hello(Foo* this) { this.x = 4; printf("-%d\n", this.x); }
|
||||
macro void Foo.hello2(Foo this) { this.x = 5; printf("-%d\n", this.x); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user