gambas-source-code/main/lib/option/getoptions.h
Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

35 lines
407 B
C
Executable file

#ifndef __GETOPTIONS_H
#define __GETOPTIONS_H
#include "gambas.h"
#ifndef __GETOPTIONS_C
extern GB_DESC GetOptionsDesc[];
#else
typedef
struct {
GB_BASE ob;
char *options;
char **argv;
int arg_count;
char **opt_found;
char **opt_arg;
char **invalid;
GB_ARRAY rest;
GB_ARRAY cmdline;
GB_ARRAY return_temp;
int index;
}
COPTIONS;
#define THIS OBJECT(COPTIONS)
#endif
#endif