mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Rename def to alias.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// #target: macos-x64
|
||||
|
||||
module demo;
|
||||
def Callback = fn int(char* text, int value);
|
||||
alias Callback = fn int(char* text, int value);
|
||||
|
||||
fn int my_callback(char* text, int value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user