Currently, these do the same thing:
extern fn foo() void;
extern fn foo() callconv(.C) void;
Callconv didn't exist before, so extern was the only way to mark the calling convention. Now that we have callconv, the implicit calling convention isn't needed anymore.
Currently, these do the same thing:
extern fn foo() void;extern fn foo() callconv(.C) void;Callconv didn't exist before, so extern was the only way to mark the calling convention. Now that we have callconv, the implicit calling convention isn't needed anymore.