]> ocean-lang.org Git - ocean/commitdiff
oceani: add reference type
authorNeilBrown <neil@brown.name>
Mon, 6 Dec 2021 05:54:07 +0000 (16:54 +1100)
committerNeilBrown <neil@brown.name>
Wed, 8 Dec 2021 05:23:09 +0000 (16:23 +1100)
 @foo  is a type which is a reference to type 'foo'.
 If var is an @foo, then var@ is the foo.
 @new() returns an appropriate new object
 @free= thing will free thing
 @nil is an invalid reference of any type.

Signed-off-by: NeilBrown <neil@brown.name>

No differences found