This commit is contained in:
JiXieShi
2024-05-20 21:53:19 +08:00
parent be1d31e732
commit 395cb4489c
20 changed files with 207 additions and 60 deletions

View File

@@ -1,6 +1,8 @@
#ifndef ARGPASE_H
#define ARGPASE_H
#ifdef __cplusplus
extern "C" {
#endif
typedef char OptId;
typedef struct Option {
@@ -37,5 +39,7 @@ OptId Options_Load(OptList *opts, char *argv[], size_t argc);
//字符串转参数数组
size_t Str_To_Args(char *str, char *argv[]);
#ifdef __cplusplus
}
#endif
#endif //ARGPASE_H