mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Support "typedef"
This commit is contained in:
committed by
Christoffer Lerno
parent
b7e19b75d0
commit
df77b692d6
@@ -3,7 +3,7 @@ import std::io;
|
||||
import std::math::vector;
|
||||
import std::math;
|
||||
|
||||
define Callback = fn int();
|
||||
typedef Callback = fn int();
|
||||
|
||||
fn int xy(Callback a) => a();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user