mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
moved dontshout from separate repository to here
This commit is contained in:
16
dontshout/args.h
Normal file
16
dontshout/args.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef __ARGS_H__
|
||||
#define __ARGS_H__
|
||||
|
||||
/*
|
||||
* These are replacement functions for ArgArrayInit(), ...
|
||||
* which are usually provided in amiga.lib, but can not be expected
|
||||
* to be available in AmigaOS 4.x.
|
||||
* These parse parameters of the form <SETTING>=<VALUE> regardless
|
||||
* whether the tool was started from command line or workbench.
|
||||
*/
|
||||
extern STRPTR *ArgArrayInit2(int argc, char **argv);
|
||||
extern void ArgArrayDone2(void);
|
||||
extern STRPTR ArgString2(UBYTE **tt, STRPTR entry, STRPTR defaultstr);
|
||||
extern LONG ArgInt2(UBYTE **tt, STRPTR entry, LONG defaultval);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user