40 extern int main(
int Argc ,
const char ** Argv );
47 #define _TO_STRING(T) #T 48 #define TO_STRING(T) _TO_STRING(T) 56 .Name = TO_STRING(oC_PROGRAM_NAME) ,
57 .Priority = oC_Program_Priority_CoreSpaceProgram ,
58 .MainFunction = main ,
59 .StdInName = TO_STRING(oC_STDIN),
60 .StdOutName = TO_STRING(oC_STDOUT),
61 .StdErrName = TO_STRING(oC_STDERR),
62 .HeapMapSize = HEAP_MAP_SIZE,
63 .ThreadStackSize = PROCESS_STACK_SIZE,
64 #ifdef ALLOCATION_LIMIT 65 .AllocationLimit = ALLOCATION_LIMIT,
67 .AllocationLimit = 0 ,
69 #ifdef TRACK_ALLOCATION 70 .TrackAllocations =
true,
72 .TrackAllocations =
false,
The file with interface for programs.