add win32 (msvc) support
This commit is contained in:
@@ -100,42 +100,42 @@ struct b_arglist {
|
||||
struct b_btree list_options;
|
||||
};
|
||||
|
||||
extern struct b_command *b_command_get_subcommand_with_name(
|
||||
BLUE_API struct b_command *b_command_get_subcommand_with_name(
|
||||
struct b_command *cmd, const char *name);
|
||||
extern struct b_command *b_command_get_subcommand_with_long_name(
|
||||
BLUE_API struct b_command *b_command_get_subcommand_with_long_name(
|
||||
struct b_command *cmd, const char *long_name);
|
||||
extern struct b_command *b_command_get_subcommand_with_short_name(
|
||||
BLUE_API struct b_command *b_command_get_subcommand_with_short_name(
|
||||
struct b_command *cmd, char short_name);
|
||||
|
||||
extern struct b_command_option *b_command_get_option_with_long_name(
|
||||
BLUE_API struct b_command_option *b_command_get_option_with_long_name(
|
||||
struct b_command *cmd, const char *long_name);
|
||||
extern struct b_command_option *b_command_get_option_with_short_name(
|
||||
BLUE_API struct b_command_option *b_command_get_option_with_short_name(
|
||||
struct b_command *cmd, char short_name);
|
||||
|
||||
extern struct b_command_option *b_command_option_create(void);
|
||||
extern void b_command_option_destroy(struct b_command_option *opt);
|
||||
BLUE_API struct b_command_option *b_command_option_create(void);
|
||||
BLUE_API void b_command_option_destroy(struct b_command_option *opt);
|
||||
|
||||
extern struct b_command_arg *b_command_arg_create(void);
|
||||
extern void b_command_arg_destroy(struct b_command_arg *arg);
|
||||
BLUE_API struct b_command_arg *b_command_arg_create(void);
|
||||
BLUE_API void b_command_arg_destroy(struct b_command_arg *arg);
|
||||
|
||||
extern struct b_arglist *b_arglist_create(void);
|
||||
extern b_status b_arglist_parse(
|
||||
BLUE_API struct b_arglist *b_arglist_create(void);
|
||||
BLUE_API b_status b_arglist_parse(
|
||||
struct b_arglist *args, struct b_command **cmd, int argc,
|
||||
const char **argv);
|
||||
extern void b_arglist_destroy(struct b_arglist *args);
|
||||
BLUE_API void b_arglist_destroy(struct b_arglist *args);
|
||||
|
||||
extern struct b_string *z__b_command_default_usage_string(
|
||||
BLUE_API struct b_string *z__b_command_default_usage_string(
|
||||
struct b_command *cmd, struct b_command_option *with_opt);
|
||||
|
||||
extern void z__b_get_arg_usage_string(
|
||||
BLUE_API void z__b_get_arg_usage_string(
|
||||
struct b_command_arg *arg, bool colour, struct b_string *out);
|
||||
extern void z__b_get_arg_description(
|
||||
BLUE_API void z__b_get_arg_description(
|
||||
struct b_command_arg *arg, struct b_string *out);
|
||||
|
||||
extern void z__b_get_option_usage_string(
|
||||
BLUE_API void z__b_get_option_usage_string(
|
||||
struct b_command_option *opt, enum cmd_string_flags flags,
|
||||
struct b_string *out);
|
||||
extern void z__b_get_option_description(
|
||||
BLUE_API void z__b_get_option_description(
|
||||
struct b_command_option *opt, struct b_string *out);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user