X-Git-Url: http://nitlanguage.org diff --git a/c_src/opts.sep.0.h b/c_src/opts.sep.0.h index 3876ee3..a517e9b 100644 --- a/c_src/opts.sep.0.h +++ b/c_src/opts.sep.0.h @@ -1,133 +1,78 @@ #include "nit.common.h" -extern const int COLOR_opts__Option___names; -val* opts__Option__names(val* self); -extern const int COLOR_opts__Option___helptext; -val* opts__Option__helptext(val* self); -extern const int COLOR_opts__Option___errors; -val* opts__Option__errors(val* self); -extern const int COLOR_opts__Option___mandatory; -short int opts__Option__mandatory(val* self); -void opts__Option__mandatory_61d(val* self, short int p0); -extern const int COLOR_opts__Option___read; -short int opts__Option__read(val* self); -extern const int COLOR_opts__Option_VTVALUE; -extern const int COLOR_opts__Option___value; -void opts__Option__value_61d(val* self, val* p0); -val* opts__Option__value(val* self); -extern const int COLOR_opts__Option___default_value; -val* opts__Option__default_value(val* self); -void opts__Option__default_value_61d(val* self, val* p0); -val* NEW_array__Array(const struct type* type); -extern const struct type type_array__Arraystring__String; -extern const int COLOR_array__Array__init; -void CHECK_NEW_array__Array(val*); -extern const int COLOR_array__Collection__to_a; -void opts__Option__init_opt(val* self, val* p0, val* p1, val* p2); -extern const int COLOR_abstract_collection__SimpleCollection__add_all; -void opts__Option__add_aliases(val* self, val* p0); -extern const int COLOR_opts__Option__pretty; -val* opts__Option__to_s(val* self); -val* NEW_string__Buffer(const struct type* type); -extern const struct type type_string__Buffer; -val* string__NativeString__to_s_with_length(char* self, long p0); -extern const int COLOR_string__Buffer__from; -void CHECK_NEW_string__Buffer(val*); -extern const int COLOR_string__Collection__join; -extern const int COLOR_abstract_collection__Sequence__append; -extern const int COLOR_abstract_collection__Collection__length; -extern const struct type type_kernel__Int; -extern const int COLOR_string__String___42d; -extern const int COLOR_opts__Option__helptext; -extern const int COLOR_string__Object__to_s; -val* opts__Option__pretty(val* self, long p0); -extern const int COLOR_opts__Option__default_value; -extern const struct type type_array__Arraykernel__Object; -extern const int COLOR_array__Array__with_capacity; -extern const int COLOR_abstract_collection__SimpleCollection__add; -val* opts__Option__pretty_default(val* self); -void opts__Option__read_param(val* self, val* p0); -extern const int COLOR_opts__Option__init_opt; -void opts__OptionText__init(val* self, val* p0); -val* opts__OptionText__pretty(val* self, long p0); -val* opts__OptionText__to_s(val* self); -void opts__OptionBool__init(val* self, val* p0, val* p1); -extern const int COLOR_opts__OptionBool__read_param; -extern const int COLOR_opts__Option__value_61d; -void opts__OptionBool__read_param(val* self, val* p0); -void opts__OptionCount__init(val* self, val* p0, val* p1); -extern const int COLOR_opts__OptionCount__read_param; -extern const int COLOR_opts__Option__value; -void opts__OptionCount__read_param(val* self, val* p0); -val* opts__OptionParameter__convert(val* self, val* p0); -extern const int COLOR_opts__OptionParameter___parameter_mandatory; -short int opts__OptionParameter__parameter_mandatory(val* self); -void opts__OptionParameter__parameter_mandatory_61d(val* self, short int p0); -extern const int COLOR_opts__OptionParameter__read_param; -extern const int COLOR_abstract_collection__Iterator__is_ok; -extern const int COLOR_abstract_collection__Iterator__item; -extern const int COLOR_abstract_collection__Collection__first; -extern const struct class class_kernel__Char; -extern const int COLOR_opts__OptionParameter__convert; -extern const int COLOR_abstract_collection__Iterator__next; -extern const int COLOR_opts__Option__names; -val* NEW_array__NativeArray(int length, const struct type* type); -extern const struct type type_array__NativeArraykernel__Object; -extern const int COLOR_array__Array__with_native; -void opts__OptionParameter__read_param(val* self, val* p0); -void opts__OptionParameter__init_opt(val* self, val* p0, val* p1, val* p2); -extern const int COLOR_opts__OptionParameter__init_opt; -void opts__OptionString__init(val* self, val* p0, val* p1); -val* opts__OptionString__convert(val* self, val* p0); -extern const int COLOR_opts__OptionEnum___values; -void opts__OptionEnum__init(val* self, val* p0, val* p1, long p2, val* p3); -extern const int COLOR_abstract_collection__SequenceRead__index_of; -extern const int COLOR_string__String___43d; -long opts__OptionEnum__convert(val* self, val* p0); -extern const int COLOR_abstract_collection__SequenceRead___91d_93d; -val* opts__OptionEnum__value_name(val* self); -val* opts__OptionEnum__pretty_default(val* self); -void opts__OptionInt__init(val* self, val* p0, long p1, val* p2); -extern const int COLOR_string__AbstractString__to_i; -long opts__OptionInt__convert(val* self, val* p0); -extern const int COLOR_opts__OptionArray___values; -void opts__OptionArray__init(val* self, val* p0, val* p1); -val* opts__OptionArray__convert(val* self, val* p0); -extern const int COLOR_opts__OptionContext___options; -val* opts__OptionContext__options(val* self); -extern const int COLOR_opts__OptionContext___rest; -val* opts__OptionContext__rest(val* self); -extern const int COLOR_opts__OptionContext___errors; -val* opts__OptionContext__errors(val* self); -extern const int COLOR_abstract_collection__Collection__iterator; -extern const int COLOR_file__Object__print; -void opts__OptionContext__usage(val* self); -extern const int COLOR_opts__OptionContext__parse_intern; -void opts__OptionContext__parse(val* self, val* p0); -extern const int COLOR_opts__OptionContext__build; -extern const int COLOR_kernel__Object___61d_61d; -extern const int COLOR_array__Iterator__to_a; -extern const int COLOR_array__AbstractArrayRead__last_index_of; -val* NEW_range__Range(const struct type* type); -extern const struct type type_range__Rangekernel__Int; -extern const int COLOR_range__Range__init; -void CHECK_NEW_range__Range(val*); -val* string__Char__to_s(char self); -extern const int COLOR_opts__OptionContext___optmap; -extern const int COLOR_abstract_collection__MapRead__has_key; -extern const int COLOR_abstract_collection__MapRead___91d_93d; +#define COLOR_opts__Option___names 0 +extern const char FILE_opts[]; +#define COLOR_opts__Option___helptext 1 +#define COLOR_opts__Option___errors 2 +#define COLOR_opts__Option___mandatory 3 +#define COLOR_opts__Option___hidden 4 +#define COLOR_opts__Option___read 5 +#define COLOR_opts__Option___value 6 +#define COLOR_opts__Option__VALUE 0 +#define COLOR_opts__Option___default_value 7 +void opts___opts__Option___init_opt(val* self, val* p0, val* p1, val* p2); +short int core___core__Array___core__kernel__Object___61d_61d(val* self, val* p0); +val* NEW_core__Array(const struct type* type); +extern const struct type type_core__Array__core__String; +void core___core__Array___core__kernel__Object__init(val* self); +val* core__array___Collection___to_a(val* self); +val* opts___opts__Option___pretty(val* self, long p0); +val* NEW_core__FlatBuffer(const struct type* type); +extern const struct type type_core__FlatBuffer; +val* core__flat___CString___to_s_unsafe(char* self, val* p0, val* p1, val* p2, val* p3); +void core___core__FlatBuffer___from(val* self, val* p0); +val* core__abstract_text___Collection___join(val* self, val* p0, val* p1); +void core___core__FlatBuffer___core__abstract_text__Buffer__append(val* self, val* p0); +#define COLOR_core__abstract_text__FlatText___length 4 +extern const struct type type_core__Int; +extern const char FILE_core__kernel[]; +#define COLOR_core__abstract_text__Text___42d 45 +val* core___core__FlatBuffer___core__abstract_text__Object__to_s(val* self); +void opts___opts__Option___init(val* self, val* p0, val* p1, val* p2); +#define COLOR_opts___opts__OptionBool___Option__read_param 30 +extern const struct type type_core__Bool; +#define COLOR_opts___opts__OptionCount___Option__read_param 30 +#define COLOR_opts__OptionParameter___parameter_mandatory 8 +#define COLOR_opts___opts__OptionParameter___Option__read_param 31 +#define COLOR_core__abstract_collection__Iterator__is_ok 12 +#define COLOR_core__abstract_collection__Iterator__item 13 +#define COLOR_core__abstract_text__Text__is_empty 43 +#define COLOR_core__abstract_text__Text__chars 27 +#define COLOR_core__abstract_collection__Collection__first 29 +#define COLOR_opts__OptionContext___options 0 +val* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val* self); +short int core___core__AbstractArrayRead___core__abstract_collection__Collection__has(val* self, val* p0); +#define COLOR_core__abstract_collection__Iterator__next 14 +#define COLOR_core__abstract_collection__Iterator__finish 15 +#define COLOR_opts__OptionParameter__convert 30 +val* NEW_core__NativeArray(int length, const struct type* type); +extern const struct type type_core__NativeArray__core__String; +val* core___core__SequenceRead___Collection__first(val* self); +#define COLOR_core__abstract_text__NativeArray__native_to_s 12 +void core___core__Array___core__abstract_collection__SimpleCollection__add(val* self, val* p0); +short int core__fixed_ints_text___Text___is_int(val* self); +long core__fixed_ints_text___Text___to_i(val* self); +long opts___opts__OptionInt___OptionParameter__convert(val* self, val* p0); +#define COLOR_opts__OptionArray___values 9 +#define COLOR_opts__OptionContext___rest 1 +#define COLOR_opts__OptionContext___context_errors 2 +#define COLOR_opts__OptionContext___optmap 3 +void core___core__Array___core__abstract_collection__SimpleCollection__add_all(val* self, val* p0); +#define COLOR_core__abstract_text__Text__length 25 +void core__file___Sys___print(val* self, val* p0); +#define COLOR_core__kernel__Object___61d_61d 4 +val* core__abstract_text___Sys___args(val* self); +#define COLOR_core__abstract_collection__Collection__iterator 24 +void opts___opts__OptionContext___parse_intern(val* self, val* p0); +#define COLOR_opts__OptionContext___options_before_rest 4 +void opts___opts__OptionContext___build(val* self); +val* core__array___Iterator___to_a(val* self); +#define COLOR_core__abstract_collection__SequenceRead__last_index_of 37 +#define COLOR_core__abstract_collection__SequenceRead___91d_93d 34 +val* core__abstract_text___Char___Object__to_s(uint32_t self); +#define COLOR_core__abstract_text__Text___43d 39 +short int core___core__HashMap___core__abstract_collection__MapRead__has_key(val* self, val* p0); +val* core___core__HashMap___core__abstract_collection__MapRead___91d_93d(val* self, val* p0); extern const struct type type_opts__OptionParameter; -extern const int COLOR_opts__Option__read_param; -extern const int COLOR_opts__Option__mandatory; -extern const int COLOR_opts__Option__read; -void opts__OptionContext__parse_intern(val* self, val* p0); -void opts__OptionContext__add_option(val* self, val* p0); -extern const struct type type_array__Arrayopts__Option; -val* NEW_hash_collection__HashMap(const struct type* type); -extern const struct type type_hash_collection__HashMapstring__Stringopts__Option; -extern const int COLOR_hash_collection__HashMap__init; -void CHECK_NEW_hash_collection__HashMap(val*); -void opts__OptionContext__init(val* self); -extern const int COLOR_abstract_collection__Map___91d_93d_61d; -void opts__OptionContext__build(val* self); -extern const int COLOR_opts__Option__errors; -val* opts__OptionContext__get_errors(val* self); +#define COLOR_opts__Option__read_param 24 +long core___core__Int___Discrete__successor(long self, long p0); +void core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(val* self, val* p0, val* p1);