Top Level Namespace

Defined in:

Method Summary

Method Detail

def main(argc : Int32, argv : Pointer(Pointer(UInt8))) #

Main function that acts as C's main function. Invokes Crystal.main.

Can be redefined. See Crystal.main for examples.

On Windows the actual entry point is wmain, but there is no need to redefine that. See the file required below for details.


[View source]