; Odin GCC shared multithreaded runtime
LIBRARY ODINCRT INITINSTANCE TERMINSTANCE
DESCRIPTION 'Odin32 System DLL - GCC OdinCRT'
DATA MULTIPLE NONSHARED READWRITE LOADONCALL
CODE LOADONCALL

EXPORTS

    odin_calloc = _calloc               @346    NONAME
    odin_malloc = _malloc               @351    NONAME
    odin_realloc = _realloc             @583    NONAME
    odin_free = _free                   @219    NONAME

; @todo need?
;       odin__debug_calloc                 @117    NONAME
;       odin__debug_realloc           @182    NONAME
;       odin__debug_malloc         @119    NONAME
;       odin__debug_free             @59 NONAME
;       odin__umalloc                           @749    NONAME
;       odin__debug_umalloc                @185    NONAME
;       odin__ucalloc                           @704    NONAME
;       odin__debug_ucalloc               @181    NONAME
;    __nw__FUiPCcT1                                      @172  NONAME
;    __dl__FPvPCcUi                                      @201  NONAME
;    __nw__FUi                                           @850  NONAME
;    __dl__FPv                                           @839  NONAME
;;    __nw__FUiPv                                       @109  NONAME
;;    __nw__FUiPCcT1Pv                                  @447  NONAME

; @todo later
;    __modi64                                           @1027 NONAME
;    __modu64                                           @1028 NONAME
;    __multi64                                          @1029 NONAME
;    __u64toflt                                         @1030 NONAME
;    __divi64                                           @1031 NONAME
;    __divu64                                           @1032 NONAME

    "_DosDeleteCriticalSection@4"                      @1200 NONAME
    "_DosEnterCriticalSection@8"                       @1201 NONAME
    "_DosInitializeCriticalSection@12"                 @1202 NONAME
    "_DosAccessCriticalSection@8"                      @1203 NONAME
    "_DosLeaveCriticalSection@4"                       @1204 NONAME
    "_DosInterlockedCompareExchange@12"                @1205 NONAME
    "_DosInterlockedDecrement@4"                       @1206 NONAME
    "_DosInterlockedExchange@8"                        @1207 NONAME
    "_DosInterlockedExchangeAdd@8"                     @1208 NONAME
    "_DosInterlockedIncrement@4"                       @1209 NONAME
    "_DosValidateCriticalSection@4"                    @1210 NONAME

    "_DosQueryModuleHandleStrict@8"                    @2000 NONAME
