mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Support "typedef"
This commit is contained in:
committed by
Christoffer Lerno
parent
b7e19b75d0
commit
df77b692d6
@@ -1,7 +1,7 @@
|
||||
// #target: macos-x64
|
||||
|
||||
module demo;
|
||||
define Callback = fn int(char* text, int value);
|
||||
typedef Callback = fn int(char* text, int value);
|
||||
|
||||
fn int my_callback(char* text, int value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user