#ifndef CLIB_ALIB_PROTOS_H #define CLIB_ALIB_PROTOS_H /* ** $VER: alib_protos.h 47.2 (30.11.2021) ** ** 'C' prototypes. For use with 32 bit integers only. ** ** Copyright (C) 2019-2022 Hyperion Entertainment CVBA. ** Developed under license. */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef EXEC_TYPES_H #include #endif #ifndef DEVICES_TIMER_H #include #endif #ifndef DEVICES_KEYMAP_H #include #endif #ifndef LIBRARIES_COMMODITIES_H #include #endif #ifndef UTILITY_HOOKS_H #include #endif #ifndef INTUITION_CLASSES_H #include #endif #ifndef INTUITION_CLASSUSR_H #include #endif #ifndef GRAPHICS_GRAPHINT_H #include #endif #ifndef REXX_STORAGE_H #include #endif /* Exec support functions */ VOID __stdargs BeginIO( struct IORequest *ioReq ); struct IORequest * __stdargs CreateExtIO( CONST struct MsgPort *port, LONG ioSize ); struct MsgPort * __stdargs CreatePort( CONST_STRPTR name, LONG pri ); struct IOStdReq * __stdargs CreateStdIO( CONST struct MsgPort *port ); struct Task * __stdargs CreateTask( CONST_STRPTR name, LONG pri, APTR initPC, ULONG stackSize ); VOID __stdargs DeleteExtIO( struct IORequest *ioReq ); VOID __stdargs DeletePort( struct MsgPort *ioReq ); VOID __stdargs DeleteStdIO( struct IOStdReq *ioReq ); VOID __stdargs DeleteTask( struct Task *task ); VOID __stdargs NewList( struct List *list ); APTR __stdargs LibAllocPooled( APTR poolHeader, ULONG memSize ); APTR __stdargs LibCreatePool( ULONG memFlags, ULONG puddleSize, ULONG threshSize ); VOID __stdargs LibDeletePool( APTR poolHeader ); VOID __stdargs LibFreePooled( APTR poolHeader, APTR memory, ULONG memSize ); /* Assorted functions in amiga.lib */ ULONG __stdargs FastRand( ULONG seed ); UWORD __stdargs RangeRand( ULONG maxValue ); /* Graphics support functions in amiga.lib */ VOID __stdargs AddTOF( struct Isrvstr *i, LONG (*p)(APTR args), APTR a ); VOID __stdargs RemTOF( struct Isrvstr *i ); VOID __stdargs waitbeam( LONG b ); /* math support functions in amiga.lib */ FLOAT __stdargs afp( CONST_STRPTR string ); VOID __stdargs arnd( LONG place, LONG exponent, STRPTR string ); FLOAT __stdargs dbf( ULONG exponent_base10, ULONG mant ); LONG __stdargs fpa( FLOAT fnum, STRPTR string ); VOID __stdargs fpbcd( FLOAT fnum, STRPTR string ); /* Timer support functions in amiga.lib (V36 and higher only) */ #ifdef __cplusplus } #endif /* __cplusplus */ #endif