From 51dfe55033fef2ccc5043230a328970c8f3a6934 Mon Sep 17 00:00:00 2001 From: GrieferAtWork Date: Sun, 5 Jan 2025 07:51:24 +0100 Subject: [PATCH] Add a way to explicitly define sequence methods... ... even when not implementing that sequence class, or not matching that class exactly. --- include/deemon/method-hints.def | 59 ++++ include/deemon/method-hints.h | 181 +++++++++++ src/deemon/objects/dict.c | 18 +- .../default-api-methods-attrproxy-impl.c.inl | 297 ++++++++++-------- src/deemon/objects/seq/default-api-methods.c | 2 + .../seq/default-api-require-method-impl.c.inl | 280 +++++++++++------ src/deemon/objects/seq/default-api.h | 122 +++++++ src/deemon/runtime/method-hints.c | 2 + src/deemon/runtime/strings.h | 245 +++++++++++++++ util/test/deemon-dict-ordered.dee | 10 +- 10 files changed, 962 insertions(+), 254 deletions(-) diff --git a/include/deemon/method-hints.def b/include/deemon/method-hints.def index 6d07744f..7be167ae 100644 --- a/include/deemon/method-hints.def +++ b/include/deemon/method-hints.def @@ -28,6 +28,10 @@ #define Dee_DEFINE_TYPE_METHOD_HINT_ATTR(attr_name, method_name, wrapper_flags, doc, wrapper_params) #endif /* !Dee_DEFINE_TYPE_METHOD_HINT_ATTR */ +#ifndef Dee_DEFINE_TYPE_METHOD_HINT_ALIAS +#define Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(new_attr_name, alias_method_name, old_attr_name) +#endif /* !Dee_DEFINE_TYPE_METHOD_HINT_ALIAS */ + #define Dee_DEFINE_TYPE_METHOD_HINT_METHOD_EX(attr_name, method_name, flags, doc) \ Dee_DEFINE_TYPE_METHOD_HINT_ATTR(attr_name, method_name, flags, doc, (DeeObject *self, size_t argc, DeeObject *const *argv)) #define Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD_EX(attr_name, method_name, flags, doc) \ @@ -100,6 +104,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_enumerate, "enumerate", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX)->?S?T2?Dint?O\n" "(cb:?DCallable,start=!0,end:?Dint=!A!Dint!PSIZE_MAX)->?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_enumerate, "__seq_enumerate__", seq_enumerate) /* @return: ITER_DONE: Sequence is empty */ @@ -113,40 +118,47 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_an Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_any_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), int, DCALL, seq_any_with_range_and_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_any, "any", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_any, "__seq_any__", seq_any) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_all, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_all_with_key, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_all_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), int, DCALL, seq_all_with_range_and_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_all, "all", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_all, "__seq_all__", seq_all) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_parity, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_parity_with_key, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_parity_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), int, DCALL, seq_parity_with_range_and_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_parity, "parity", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_parity, "__seq_parity__", seq_parity) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, seq_reduce, (DeeObject *self, DeeObject *combine)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, seq_reduce_with_init, (DeeObject *self, DeeObject *combine, DeeObject *init)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, seq_reduce_with_range, (DeeObject *self, DeeObject *combine, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), DREF DeeObject *, DCALL, seq_reduce_with_range_and_init, (DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_reduce, "reduce", "(combine:?DCallable,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,init?)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_reduce, "__seq_reduce__", seq_reduce) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_min, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, seq_min_with_key, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_min_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), DREF DeeObject *, DCALL, seq_min_with_range_and_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_min, "min", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_min, "__seq_min__", seq_min) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_max, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, seq_max_with_key, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_max_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), DREF DeeObject *, DCALL, seq_max_with_range_and_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_max, "max", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_max, "__seq_max__", seq_max) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_sum, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_sum_with_range, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_sum, "sum", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX)->?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_sum, "__seq_sum__", seq_sum) /* @return: * : Count * @return: (size_t)-1: Error */ @@ -155,6 +167,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), size_t, DCALL, Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_count_with_range, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), size_t, DCALL, seq_count_with_range_and_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_count, "count", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_count, "__seq_count__", seq_count) /* @return: 0 : Not contained * @return: 1 : Is contained @@ -164,16 +177,19 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), int, DCALL, seq Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_contains_with_range, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_contains_with_range_and_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_contains, "contains", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_contains, "__seq_contains__", seq_contains) /* Returns the first element (within the given range) where `match(elem)' is true. */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, seq_locate, (DeeObject *self, DeeObject *match, DeeObject *def)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), DREF DeeObject *, DCALL, seq_locate_with_range, (DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_locate, "locate", "(match,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,def=!N)->?X2?O?Q!Adef]") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_locate, "__seq_locate__", seq_locate) /* Returns the last element (within the given range) where `match(elem)' is true. */ /*Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, seq_rlocate, (DeeObject *self, DeeObject *match, DeeObject *def))*/ /* Wouldn't make sense: for reverse, you need indices */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), DREF DeeObject *, DCALL, seq_rlocate_with_range, (DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_rlocate, "rlocate", "(match,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,def=!N)->?X2?O?Q!Adef]") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_rlocate, "__seq_rlocate__", seq_rlocate) /* @return: 0 : Does not start with * @return: 1 : Does start with @@ -183,6 +199,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), int, DCALL, seq Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_startswith_with_range, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_startswith_with_range_and_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_startswith, "startswith", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_startswith, "__seq_startswith__", seq_startswith) /* @return: 0 : Does not end with * @return: 1 : Does end with @@ -192,6 +209,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), int, DCALL, seq Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_endswith_with_range, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_endswith_with_range_and_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_endswith, "endswith", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_endswith, "__seq_endswith__", seq_endswith) /* @return: * : Index of `item' in `self' @@ -200,84 +218,108 @@ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_endswith, "endswith", "(item,start=!0,e Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_find, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), size_t, DCALL, seq_find_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_find, "find", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_find, "__seq_find__", seq_find) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_rfind, (DeeObject *self, DeeObject *item, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), size_t, DCALL, seq_rfind_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_rfind, "rfind", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_rfind, "__seq_rfind__", seq_rfind) /* Functions for mutable sequences. */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_erase, (DeeObject *self, size_t index, size_t count)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_erase, "erase", "(index:?Dint,count=!1)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_erase, "__seq_erase__", seq_erase) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 3)), int, DCALL, seq_insert, (DeeObject *self, size_t index, DeeObject *item)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_insert, "insert", "(index:?Dint,item)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_insert, "__seq_insert__", seq_insert) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 3)), int, DCALL, seq_insertall, (DeeObject *self, size_t index, DeeObject *items)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_insertall, "insertall", "(index:?Dint,items:?DSequence)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_insertall, "__seq_insertall__", seq_insertall) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_pushfront, (DeeObject *self, DeeObject *item)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(seq_pushfront, "pushfront", "(item)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_pushfront, "__seq_pushfront__", seq_pushfront) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_append, (DeeObject *self, DeeObject *item)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(seq_append, "append", "(item)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_append, "__seq_append__", seq_append) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_extend, (DeeObject *self, DeeObject *items)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(seq_extend, "extend", "(items:?DSequence)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_extend, "__seq_extend__", seq_extend) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 3)), DREF DeeObject *, DCALL, seq_xchitem_index, (DeeObject *self, size_t index, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_xchitem, "xchitem", "(index:?Dint,value)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_xchitem, "__seq_xchitem__", seq_xchitem) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_clear, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(seq_clear, "clear", "()") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_clear, "__seq_clear__", seq_clear) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_pop, (DeeObject *self, Dee_ssize_t index)) /* When index is negative, count from end of sequence */ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_pop, "pop", "(index=!-1)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_pop, "__seq_pop__", seq_pop) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_remove, (DeeObject *self, DeeObject *item, size_t start, size_t end)) /* @return: 1: Removed; 0: Not removed; -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_remove_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) /* @return: 1: Removed; 0: Not removed; -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_remove, "remove", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_remove, "__seq_remove__", seq_remove) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, seq_rremove, (DeeObject *self, DeeObject *item, size_t start, size_t end)) /* @return: 1: Removed; 0: Not removed; -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_rremove_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) /* @return: 1: Removed; 0: Not removed; -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_rremove, "rremove", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_rremove, "__seq_rremove__", seq_rremove) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_removeall, (DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 6)), size_t, DCALL, seq_removeall_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_removeall, "removeall", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,max:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_removeall, "__seq_removeall__", seq_removeall) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_removeif, (DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_removeif, "removeif", "(should:?DCallable,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,max:?Dint=!A!Dint!PSIZE_MAX)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_removeif, "__seq_removeif__", seq_removeif) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 3)), int, DCALL, seq_resize, (DeeObject *self, size_t newsize, DeeObject *filler)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_resize, "resize", "(size:?Dint,filler=!N)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_resize, "__seq_resize__", seq_resize) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), int, DCALL, seq_fill, (DeeObject *self, size_t start, size_t end, DeeObject *filler)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_fill, "fill", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,filler=!N)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_fill, "__seq_fill__", seq_fill) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_reverse, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_reverse, "reverse", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_reverse, "__seq_reverse__", seq_reverse) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_reversed, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_reversed, "reversed", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX)->?DSequence") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_reversed, "__seq_reversed__", seq_reversed) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), int, DCALL, seq_sort, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), int, DCALL, seq_sort_with_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_sort, "sort", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_sort, "__seq_sort__", seq_sort) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, seq_sorted, (DeeObject *self, size_t start, size_t end)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 4)), DREF DeeObject *, DCALL, seq_sorted_with_key, (DeeObject *self, size_t start, size_t end, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_sorted, "sorted", "(start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?DSequence") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_sorted, "__seq_sorted__", seq_sorted) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_bfind, (DeeObject *self, DeeObject *item, size_t start, size_t end)) /* @return: (size_t)-1: Not found; @return (size_t)Dee_COMPARE_ERR: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), size_t, DCALL, seq_bfind_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) /* @return: (size_t)-1: Not found; @return (size_t)Dee_COMPARE_ERR: Error */ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_bfind, "bfind", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_bfind, "__seq_bfind__", seq_bfind) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), size_t, DCALL, seq_bposition, (DeeObject *self, DeeObject *item, size_t start, size_t end)) /* @return: (size_t)Dee_COMPARE_ERR: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), size_t, DCALL, seq_bposition_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key)) /* @return: (size_t)Dee_COMPARE_ERR: Error */ Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_bposition, "bposition", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_bposition, "__seq_bposition__", seq_bposition) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5)), int, DCALL, seq_brange, (DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2])) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 5, 6)), int, DCALL, seq_brange_with_key, (DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2])) Dee_DEFINE_TYPE_METHOD_HINT_KWMETHOD(seq_brange, "brange", "(item,start=!0,end:?Dint=!A!Dint!PSIZE_MAX,key:?DCallable=!N)->?X2?Dint?Dint") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_seq_brange, "__seq_brange__", seq_brange) @@ -313,6 +355,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, set_op * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, set_insert, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_insert, "insert", "(key)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_insert, "__set_insert__", set_insert) /* Remove a key from a set * @return: 1 : Given `key' was removed @@ -320,23 +363,28 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_insert, "insert", "(key)->?Dbool") * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, set_remove, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_remove, "remove", "(key)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_remove, "__set_remove__", set_remove) /* Insert `key' if not already present and re-return `key'. * If already present, return the pre-existing (and equal) instance instead. * @return: NULL: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, set_unify, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_unify, "unify", "(key)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_unify, "__set_unify__", set_unify) /* @return: 0 : Success * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, set_insertall, (DeeObject *self, DeeObject *keys)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_insertall, "insertall", "(keys:?S?O)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_insertall, "__set_insertall__", set_insertall) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, set_removeall, (DeeObject *self, DeeObject *keys)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_removeall, "removeall", "(keys:?S?O)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_removeall, "__set_removeall__", set_removeall) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, set_pop, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, set_pop_with_default, (DeeObject *self, DeeObject *default_)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(set_pop, "pop", "(def?)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_set_pop, "__set_pop__", set_pop) @@ -397,12 +445,14 @@ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int, DCALL, map_op * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), int , DCALL, map_setold, (DeeObject *self, DeeObject *key, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setold, "setold", "(key,value)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_setold, "__map_setold__", map_setold) /* @return: * : The value of `key' was set to `value' (returned object is the old value) * @return: ITER_DONE: The given `key' doesn't exist (nothing was updated) * @return: NULL: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, map_setold_ex, (DeeObject *self, DeeObject *key, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setold_ex, "setold_ex", "(key,value)->?T2?Dbool?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_setold_ex, "__map_setold_ex__", map_setold_ex) /* Insert a new key whilst making sure that the key doesn't already exist * @param: value: The value to overwrite that of `key' with (so-long as `key' already exists) @@ -411,12 +461,14 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setold_ex, "setold_ex", "(key,value)->?T2 * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), int , DCALL, map_setnew, (DeeObject *self, DeeObject *key, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setnew, "setnew", "(key,value)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_setnew, "__map_setnew__", map_setnew) /* @return: ITER_DONE: The value of `key' was set to `value' (the key didn't exist or used to be unbound) * @return: * : The given `key' already exists (nothing was inserted; returned object is the already-present value) * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, map_setnew_ex, (DeeObject *self, DeeObject *key, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setnew_ex, "setnew_ex", "(key,value)->?T2?Dbool?X2?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_setnew_ex, "__map_setnew_ex__", map_setnew_ex) /* Same semantic functionality as `Dee_mh_map_setnew_ex_t': insert if not already present * @return: * : The value associated with key after the call: @@ -425,6 +477,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setnew_ex, "setnew_ex", "(key,value)->?T2 * @return: NULL: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, map_setdefault, (DeeObject *self, DeeObject *key, DeeObject *value)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setdefault, "setdefault", "(key,value)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_setdefault, "__map_setdefault__", map_setdefault) /* Copy all key-value pairs from `items' and assign them to `self'. * Same as `for (local key, value: items) self[key] = value;' @@ -432,6 +485,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_setdefault, "setdefault", "(key,value)->" * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int , DCALL, map_update, (DeeObject *self, DeeObject *items)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_update, "update", "(items:?M?O?O)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_update, "__map_update__", map_update) /* Remove a single key, returning true/false indicative of that key having been removed. * @return: 1 : Key was removed @@ -439,6 +493,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_update, "update", "(items:?M?O?O)") * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int , DCALL, map_remove, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_remove, "remove", "(key)->?Dbool") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_remove, "__map_remove__", map_remove) /* Delete all keys that appear in `keys'. * Same as `for (local key: keys) del self[key];' @@ -446,6 +501,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_remove, "remove", "(key)->?Dbool") * @return: -1: Error */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), int , DCALL, map_removekeys, (DeeObject *self, DeeObject *keys)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_removekeys, "removekeys", "(keys:?S?O)") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_removekeys, "__map_removekeys__", map_removekeys) /* Remove/unbind `key' and return whatever used to be assigned to it. * When the key was already absent/unbound, return `default_' or throw a `KeyError' @@ -454,10 +510,12 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_removekeys, "removekeys", "(keys:?S?O)") Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2)), DREF DeeObject *, DCALL, map_pop, (DeeObject *self, DeeObject *key)) Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1, 2, 3)), DREF DeeObject *, DCALL, map_pop_with_default, (DeeObject *self, DeeObject *key, DeeObject *default_)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_pop, "pop", "(key,def?)->") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_pop, "__map_pop__", map_pop) /* Remove a random key/value pair from `self' and store it in `key_and_value' (returns "none" if nothing found) */ Dee_DEFINE_TYPE_METHOD_HINT_FUNC(WUNUSED_T NONNULL_T((1)), DREF DeeObject *, DCALL, map_popitem, (DeeObject *self)) Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_popitem, "popitem", "->?X2?T2?O?O?N") +Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(explicit_map_popitem, "__map_popitem__", map_popitem) #ifndef Dee_DEFINE_TYPE_METHOD_HINT_TSC_ONLY @@ -467,6 +525,7 @@ Dee_DEFINE_TYPE_METHOD_HINT_METHOD(map_popitem, "popitem", "->?X2?T2?O?O?N") #endif /* !Dee_DEFINE_TYPE_METHOD_HINT_TSC_ONLY */ +#undef Dee_DEFINE_TYPE_METHOD_HINT_ALIAS #undef Dee_DEFINE_TYPE_METHOD_HINT_FUNC #undef Dee_DEFINE_TYPE_METHOD_HINT_ATTR #undef Dee_DEFINE_TYPE_METHOD_HINT_METHOD_EX diff --git a/include/deemon/method-hints.h b/include/deemon/method-hints.h index 2e2869e6..d7b4f6f9 100644 --- a/include/deemon/method-hints.h +++ b/include/deemon/method-hints.h @@ -93,9 +93,190 @@ enum { DFUNDEF WUNUSED NONNULL((1)) DREF DeeObject *(DCALL DeeMH_##attr_name) wrapper_params; \ DDATDEF char const DeeMH_##attr_name##_doc[]; \ DDATDEF char const DeeMH_##attr_name##_name[]; +#define Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(new_attr_name, alias_method_name, old_attr_name) \ + DDATDEF char const DeeMH_##new_attr_name##_name[]; #include "method-hints.def" +/*[[[deemon +@@Method hint aliases: (nameAsUsedIn_TYPE_METHOD_HINTREF, attributeName, nameOfAliasedHint) +local MH_ALIASES = []; +#define Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(new_attr_name, alias_method_name, old_attr_name) \ + MH_ALIASES.append((#new_attr_name, alias_method_name, #old_attr_name)); +#include "method-hints.def" + +local longestNewName = MH_ALIASES.each.first.length > ...; +for (local newName, none, oldName: MH_ALIASES) { + print("#define DeeMH_", newName.ljust(longestNewName), " DeeMH_", oldName); + print("#define DeeMH_", (newName + "_doc").ljust(longestNewName + 4), " DeeMH_", oldName, "_doc"); + print("#define _Dee_TMH_WRAPPER_FLAGS_", newName.ljust(longestNewName), " _Dee_TMH_WRAPPER_FLAGS_", oldName); +} +]]]*/ +#define DeeMH_explicit_seq_enumerate DeeMH_seq_enumerate +#define DeeMH_explicit_seq_enumerate_doc DeeMH_seq_enumerate_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_enumerate _Dee_TMH_WRAPPER_FLAGS_seq_enumerate +#define DeeMH_explicit_seq_any DeeMH_seq_any +#define DeeMH_explicit_seq_any_doc DeeMH_seq_any_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_any _Dee_TMH_WRAPPER_FLAGS_seq_any +#define DeeMH_explicit_seq_all DeeMH_seq_all +#define DeeMH_explicit_seq_all_doc DeeMH_seq_all_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_all _Dee_TMH_WRAPPER_FLAGS_seq_all +#define DeeMH_explicit_seq_parity DeeMH_seq_parity +#define DeeMH_explicit_seq_parity_doc DeeMH_seq_parity_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_parity _Dee_TMH_WRAPPER_FLAGS_seq_parity +#define DeeMH_explicit_seq_reduce DeeMH_seq_reduce +#define DeeMH_explicit_seq_reduce_doc DeeMH_seq_reduce_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_reduce _Dee_TMH_WRAPPER_FLAGS_seq_reduce +#define DeeMH_explicit_seq_min DeeMH_seq_min +#define DeeMH_explicit_seq_min_doc DeeMH_seq_min_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_min _Dee_TMH_WRAPPER_FLAGS_seq_min +#define DeeMH_explicit_seq_max DeeMH_seq_max +#define DeeMH_explicit_seq_max_doc DeeMH_seq_max_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_max _Dee_TMH_WRAPPER_FLAGS_seq_max +#define DeeMH_explicit_seq_sum DeeMH_seq_sum +#define DeeMH_explicit_seq_sum_doc DeeMH_seq_sum_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_sum _Dee_TMH_WRAPPER_FLAGS_seq_sum +#define DeeMH_explicit_seq_count DeeMH_seq_count +#define DeeMH_explicit_seq_count_doc DeeMH_seq_count_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_count _Dee_TMH_WRAPPER_FLAGS_seq_count +#define DeeMH_explicit_seq_contains DeeMH_seq_contains +#define DeeMH_explicit_seq_contains_doc DeeMH_seq_contains_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_contains _Dee_TMH_WRAPPER_FLAGS_seq_contains +#define DeeMH_explicit_seq_locate DeeMH_seq_locate +#define DeeMH_explicit_seq_locate_doc DeeMH_seq_locate_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_locate _Dee_TMH_WRAPPER_FLAGS_seq_locate +#define DeeMH_explicit_seq_rlocate DeeMH_seq_rlocate +#define DeeMH_explicit_seq_rlocate_doc DeeMH_seq_rlocate_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_rlocate _Dee_TMH_WRAPPER_FLAGS_seq_rlocate +#define DeeMH_explicit_seq_startswith DeeMH_seq_startswith +#define DeeMH_explicit_seq_startswith_doc DeeMH_seq_startswith_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_startswith _Dee_TMH_WRAPPER_FLAGS_seq_startswith +#define DeeMH_explicit_seq_endswith DeeMH_seq_endswith +#define DeeMH_explicit_seq_endswith_doc DeeMH_seq_endswith_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_endswith _Dee_TMH_WRAPPER_FLAGS_seq_endswith +#define DeeMH_explicit_seq_find DeeMH_seq_find +#define DeeMH_explicit_seq_find_doc DeeMH_seq_find_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_find _Dee_TMH_WRAPPER_FLAGS_seq_find +#define DeeMH_explicit_seq_rfind DeeMH_seq_rfind +#define DeeMH_explicit_seq_rfind_doc DeeMH_seq_rfind_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_rfind _Dee_TMH_WRAPPER_FLAGS_seq_rfind +#define DeeMH_explicit_seq_erase DeeMH_seq_erase +#define DeeMH_explicit_seq_erase_doc DeeMH_seq_erase_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_erase _Dee_TMH_WRAPPER_FLAGS_seq_erase +#define DeeMH_explicit_seq_insert DeeMH_seq_insert +#define DeeMH_explicit_seq_insert_doc DeeMH_seq_insert_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_insert _Dee_TMH_WRAPPER_FLAGS_seq_insert +#define DeeMH_explicit_seq_insertall DeeMH_seq_insertall +#define DeeMH_explicit_seq_insertall_doc DeeMH_seq_insertall_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_insertall _Dee_TMH_WRAPPER_FLAGS_seq_insertall +#define DeeMH_explicit_seq_pushfront DeeMH_seq_pushfront +#define DeeMH_explicit_seq_pushfront_doc DeeMH_seq_pushfront_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_pushfront _Dee_TMH_WRAPPER_FLAGS_seq_pushfront +#define DeeMH_explicit_seq_append DeeMH_seq_append +#define DeeMH_explicit_seq_append_doc DeeMH_seq_append_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_append _Dee_TMH_WRAPPER_FLAGS_seq_append +#define DeeMH_explicit_seq_extend DeeMH_seq_extend +#define DeeMH_explicit_seq_extend_doc DeeMH_seq_extend_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_extend _Dee_TMH_WRAPPER_FLAGS_seq_extend +#define DeeMH_explicit_seq_xchitem DeeMH_seq_xchitem +#define DeeMH_explicit_seq_xchitem_doc DeeMH_seq_xchitem_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_xchitem _Dee_TMH_WRAPPER_FLAGS_seq_xchitem +#define DeeMH_explicit_seq_clear DeeMH_seq_clear +#define DeeMH_explicit_seq_clear_doc DeeMH_seq_clear_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_clear _Dee_TMH_WRAPPER_FLAGS_seq_clear +#define DeeMH_explicit_seq_pop DeeMH_seq_pop +#define DeeMH_explicit_seq_pop_doc DeeMH_seq_pop_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_pop _Dee_TMH_WRAPPER_FLAGS_seq_pop +#define DeeMH_explicit_seq_remove DeeMH_seq_remove +#define DeeMH_explicit_seq_remove_doc DeeMH_seq_remove_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_remove _Dee_TMH_WRAPPER_FLAGS_seq_remove +#define DeeMH_explicit_seq_rremove DeeMH_seq_rremove +#define DeeMH_explicit_seq_rremove_doc DeeMH_seq_rremove_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_rremove _Dee_TMH_WRAPPER_FLAGS_seq_rremove +#define DeeMH_explicit_seq_removeall DeeMH_seq_removeall +#define DeeMH_explicit_seq_removeall_doc DeeMH_seq_removeall_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_removeall _Dee_TMH_WRAPPER_FLAGS_seq_removeall +#define DeeMH_explicit_seq_removeif DeeMH_seq_removeif +#define DeeMH_explicit_seq_removeif_doc DeeMH_seq_removeif_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_removeif _Dee_TMH_WRAPPER_FLAGS_seq_removeif +#define DeeMH_explicit_seq_resize DeeMH_seq_resize +#define DeeMH_explicit_seq_resize_doc DeeMH_seq_resize_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_resize _Dee_TMH_WRAPPER_FLAGS_seq_resize +#define DeeMH_explicit_seq_fill DeeMH_seq_fill +#define DeeMH_explicit_seq_fill_doc DeeMH_seq_fill_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_fill _Dee_TMH_WRAPPER_FLAGS_seq_fill +#define DeeMH_explicit_seq_reverse DeeMH_seq_reverse +#define DeeMH_explicit_seq_reverse_doc DeeMH_seq_reverse_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_reverse _Dee_TMH_WRAPPER_FLAGS_seq_reverse +#define DeeMH_explicit_seq_reversed DeeMH_seq_reversed +#define DeeMH_explicit_seq_reversed_doc DeeMH_seq_reversed_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_reversed _Dee_TMH_WRAPPER_FLAGS_seq_reversed +#define DeeMH_explicit_seq_sort DeeMH_seq_sort +#define DeeMH_explicit_seq_sort_doc DeeMH_seq_sort_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_sort _Dee_TMH_WRAPPER_FLAGS_seq_sort +#define DeeMH_explicit_seq_sorted DeeMH_seq_sorted +#define DeeMH_explicit_seq_sorted_doc DeeMH_seq_sorted_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_sorted _Dee_TMH_WRAPPER_FLAGS_seq_sorted +#define DeeMH_explicit_seq_bfind DeeMH_seq_bfind +#define DeeMH_explicit_seq_bfind_doc DeeMH_seq_bfind_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_bfind _Dee_TMH_WRAPPER_FLAGS_seq_bfind +#define DeeMH_explicit_seq_bposition DeeMH_seq_bposition +#define DeeMH_explicit_seq_bposition_doc DeeMH_seq_bposition_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_bposition _Dee_TMH_WRAPPER_FLAGS_seq_bposition +#define DeeMH_explicit_seq_brange DeeMH_seq_brange +#define DeeMH_explicit_seq_brange_doc DeeMH_seq_brange_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_seq_brange _Dee_TMH_WRAPPER_FLAGS_seq_brange +#define DeeMH_explicit_set_insert DeeMH_set_insert +#define DeeMH_explicit_set_insert_doc DeeMH_set_insert_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_insert _Dee_TMH_WRAPPER_FLAGS_set_insert +#define DeeMH_explicit_set_remove DeeMH_set_remove +#define DeeMH_explicit_set_remove_doc DeeMH_set_remove_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_remove _Dee_TMH_WRAPPER_FLAGS_set_remove +#define DeeMH_explicit_set_unify DeeMH_set_unify +#define DeeMH_explicit_set_unify_doc DeeMH_set_unify_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_unify _Dee_TMH_WRAPPER_FLAGS_set_unify +#define DeeMH_explicit_set_insertall DeeMH_set_insertall +#define DeeMH_explicit_set_insertall_doc DeeMH_set_insertall_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_insertall _Dee_TMH_WRAPPER_FLAGS_set_insertall +#define DeeMH_explicit_set_removeall DeeMH_set_removeall +#define DeeMH_explicit_set_removeall_doc DeeMH_set_removeall_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_removeall _Dee_TMH_WRAPPER_FLAGS_set_removeall +#define DeeMH_explicit_set_pop DeeMH_set_pop +#define DeeMH_explicit_set_pop_doc DeeMH_set_pop_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_set_pop _Dee_TMH_WRAPPER_FLAGS_set_pop +#define DeeMH_explicit_map_setold DeeMH_map_setold +#define DeeMH_explicit_map_setold_doc DeeMH_map_setold_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_setold _Dee_TMH_WRAPPER_FLAGS_map_setold +#define DeeMH_explicit_map_setold_ex DeeMH_map_setold_ex +#define DeeMH_explicit_map_setold_ex_doc DeeMH_map_setold_ex_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_setold_ex _Dee_TMH_WRAPPER_FLAGS_map_setold_ex +#define DeeMH_explicit_map_setnew DeeMH_map_setnew +#define DeeMH_explicit_map_setnew_doc DeeMH_map_setnew_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_setnew _Dee_TMH_WRAPPER_FLAGS_map_setnew +#define DeeMH_explicit_map_setnew_ex DeeMH_map_setnew_ex +#define DeeMH_explicit_map_setnew_ex_doc DeeMH_map_setnew_ex_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_setnew_ex _Dee_TMH_WRAPPER_FLAGS_map_setnew_ex +#define DeeMH_explicit_map_setdefault DeeMH_map_setdefault +#define DeeMH_explicit_map_setdefault_doc DeeMH_map_setdefault_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_setdefault _Dee_TMH_WRAPPER_FLAGS_map_setdefault +#define DeeMH_explicit_map_update DeeMH_map_update +#define DeeMH_explicit_map_update_doc DeeMH_map_update_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_update _Dee_TMH_WRAPPER_FLAGS_map_update +#define DeeMH_explicit_map_remove DeeMH_map_remove +#define DeeMH_explicit_map_remove_doc DeeMH_map_remove_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_remove _Dee_TMH_WRAPPER_FLAGS_map_remove +#define DeeMH_explicit_map_removekeys DeeMH_map_removekeys +#define DeeMH_explicit_map_removekeys_doc DeeMH_map_removekeys_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_removekeys _Dee_TMH_WRAPPER_FLAGS_map_removekeys +#define DeeMH_explicit_map_pop DeeMH_map_pop +#define DeeMH_explicit_map_pop_doc DeeMH_map_pop_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_pop _Dee_TMH_WRAPPER_FLAGS_map_pop +#define DeeMH_explicit_map_popitem DeeMH_map_popitem +#define DeeMH_explicit_map_popitem_doc DeeMH_map_popitem_doc +#define _Dee_TMH_WRAPPER_FLAGS_explicit_map_popitem _Dee_TMH_WRAPPER_FLAGS_map_popitem +/*[[[end]]]*/ + + /* Used to declare type method hints in C */ struct Dee_type_method_hint { diff --git a/src/deemon/objects/dict.c b/src/deemon/objects/dict.c index 00b0a339..b13dd2ed 100644 --- a/src/deemon/objects/dict.c +++ b/src/deemon/objects/dict.c @@ -3495,17 +3495,13 @@ PRIVATE struct type_method tpconst dict_methods[] = { "#r{Returns !t if memory was released}" "Release unused memory"), - /* TODO: Need a way of declare the presence of sequence method hints that would normally be - * incompatible with a type's native sequence type. This needs to be done by having - * some alternative symbol name. e.g. "__seq_xchitem__" that is checked for by the - * sequence API resolver. */ -//TODO: TYPE_METHOD_HINTREF(seq_xchitem), -//TODO: TYPE_METHOD_HINTREF(seq_erase), -//TODO: TYPE_METHOD_HINTREF(seq_insert), -//TODO: TYPE_METHOD_HINTREF(seq_append), -//TODO: TYPE_METHOD_HINTREF(seq_pop), -//TODO: TYPE_METHOD_HINTREF(seq_removeif), -//TODO: TYPE_METHOD_HINTREF(seq_reverse), + TYPE_METHOD_HINTREF(explicit_seq_xchitem), + TYPE_METHOD_HINTREF(explicit_seq_erase), + TYPE_METHOD_HINTREF(explicit_seq_insert), + TYPE_METHOD_HINTREF(explicit_seq_append), + TYPE_METHOD_HINTREF(explicit_seq_pop), + TYPE_METHOD_HINTREF(explicit_seq_removeif), + TYPE_METHOD_HINTREF(explicit_seq_reverse), TYPE_METHOD_END }; diff --git a/src/deemon/objects/seq/default-api-methods-attrproxy-impl.c.inl b/src/deemon/objects/seq/default-api-methods-attrproxy-impl.c.inl index c978f48e..0562916f 100644 --- a/src/deemon/objects/seq/default-api-methods-attrproxy-impl.c.inl +++ b/src/deemon/objects/seq/default-api-methods-attrproxy-impl.c.inl @@ -19,7 +19,8 @@ */ #ifdef __INTELLISENSE__ #include "default-api-methods.c" -#define DEFINE_DeeSeq_DefaultFooWithCallAttrFoo +//#define DEFINE_DeeSeq_DefaultFooWithCallAttrFoo +#define DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo //#define DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction //#define DEFINE_DeeSeq_DefaultFooWithCallFooDataMethod //#define DEFINE_DeeSeq_DefaultFooWithCallFooDataKwMethod @@ -28,6 +29,7 @@ DECL_BEGIN #if (defined(DEFINE_DeeSeq_DefaultFooWithCallAttrFoo) + \ + defined(DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo) + \ defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction) + \ defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataMethod) + \ defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataKwMethod)) != 1 @@ -37,6 +39,9 @@ DECL_BEGIN #ifdef DEFINE_DeeSeq_DefaultFooWithCallAttrFoo #define LOCAL_DeeApi_DefaultFooWithCallAttrBar(DeeApi_Default, Foo, Bar) PP_CAT4(DeeApi_Default, Foo, WithCallAttr, Bar) #define LOCAL_DeeApi_DefaultFooWithCallAttrBar_(DeeApi_Default, Foo, Bar, x) PP_CAT5(DeeApi_Default, Foo, WithCallAttr, Bar, x) +#elif defined(DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo) +#define LOCAL_DeeApi_DefaultFooWithCallAttrBar(DeeApi_Default, Foo, Bar) PP_CAT4(DeeApi_Default, Foo, WithCallAttrExplicit, Bar) +#define LOCAL_DeeApi_DefaultFooWithCallAttrBar_(DeeApi_Default, Foo, Bar, x) PP_CAT5(DeeApi_Default, Foo, WithCallAttrExplicit, Bar, x) #elif defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction) #define LOCAL_DeeApi_DefaultFooWithCallAttrBar(DeeApi_Default, Foo, Bar) PP_CAT5(DeeApi_Default, Foo, WithCall, Bar, DataFunction) #define LOCAL_DeeApi_DefaultFooWithCallAttrBar_(DeeApi_Default, Foo, Bar, x) PP_CAT6(DeeApi_Default, Foo, WithCall, Bar, DataFunction, x) @@ -183,40 +188,53 @@ DECL_BEGIN #ifdef DEFINE_DeeSeq_DefaultFooWithCallAttrFoo -#define LOCAL_DeeObject_GetAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_GetAttr(self, tsc_foo_data, attr, attr_explicit) \ DeeObject_GetAttr(self, (DeeObject *)(attr)) -#define LOCAL_DeeObject_BoundAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_BoundAttr(self, tsc_foo_data, attr, attr_explicit) \ DeeObject_BoundAttr(self, (DeeObject *)(attr)) -#define LOCAL_DeeObject_DelAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_DelAttr(self, tsc_foo_data, attr, attr_explicit) \ DeeObject_DelAttr(self, (DeeObject *)(attr)) -#define LOCAL_DeeObject_SetAttr(self, tsc_foo_data, attr, value) \ +#define LOCAL_DeeObject_SetAttr(self, tsc_foo_data, attr, attr_explicit, value) \ DeeObject_SetAttr(self, (DeeObject *)(attr), value) -#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, argc, argv) \ +#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, attr_explicit, argc, argv) \ DeeObject_CallAttr(self, (DeeObject *)(attr), argc, argv) -#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, ...) \ +#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, attr_explicit, ...) \ DeeObject_CallAttrf(self, (DeeObject *)(attr), __VA_ARGS__) +#elif defined(DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo) +#define LOCAL_DeeObject_GetAttr(self, tsc_foo_data, attr, attr_explicit) \ + DeeObject_GetAttr(self, (DeeObject *)(attr_explicit)) +#define LOCAL_DeeObject_BoundAttr(self, tsc_foo_data, attr, attr_explicit) \ + DeeObject_BoundAttr(self, (DeeObject *)(attr_explicit)) +#define LOCAL_DeeObject_DelAttr(self, tsc_foo_data, attr, attr_explicit) \ + DeeObject_DelAttr(self, (DeeObject *)(attr_explicit)) +#define LOCAL_DeeObject_SetAttr(self, tsc_foo_data, attr, attr_explicit, value) \ + DeeObject_SetAttr(self, (DeeObject *)(attr_explicit), value) +#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, attr_explicit, argc, argv) \ + DeeObject_CallAttr(self, (DeeObject *)(attr_explicit), argc, argv) +#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, attr_explicit, ...) \ + DeeObject_CallAttrf(self, (DeeObject *)(attr_explicit), __VA_ARGS__) #elif defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction) -#define LOCAL_DeeObject_GetAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_GetAttr(self, tsc_foo_data, attr, attr_explicit) \ DeeObject_ThisCall(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self, 0, NULL) -#define LOCAL_DeeObject_BoundAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_BoundAttr(self, tsc_foo_data, attr, attr_explicit) \ call_getter_for_bound(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self) -#define LOCAL_DeeObject_DelAttr(self, tsc_foo_data, attr) \ +#define LOCAL_DeeObject_DelAttr(self, tsc_foo_data, attr, attr_explicit) \ call_delete(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self) -#define LOCAL_DeeObject_SetAttr(self, tsc_foo_data, attr, value) \ +#define LOCAL_DeeObject_SetAttr(self, tsc_foo_data, attr, attr_explicit, value) \ call_setter(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self, value) -#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, argc, argv) \ +#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, attr_explicit, argc, argv) \ DeeObject_ThisCall(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self, argc, argv) -#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, ...) \ +#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, attr_explicit, ...) \ DeeObject_ThisCallf(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_function, self, __VA_ARGS__) #elif defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataMethod) -#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, argc, argv) \ +#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, attr_explicit, argc, argv) \ (*Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_method)(self, argc, argv) -#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, ...) \ +#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, attr_explicit, ...) \ DeeObjMethod_CallFuncf(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_method, self, __VA_ARGS__) #elif defined(DEFINE_DeeSeq_DefaultFooWithCallFooDataKwMethod) -#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, argc, argv) \ +#define LOCAL_DeeObject_CallAttr(self, tsc_foo_data, attr, attr_explicit, argc, argv) \ (*Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_kwmethod)(self, argc, argv, NULL) -#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, ...) \ +#define LOCAL_DeeObject_CallAttrf(self, tsc_foo_data, attr, attr_explicit, ...) \ DeeKwObjMethod_CallFuncf(Dee_TYPE(self)->tp_seq->_tp_seqcache->tsc_foo_data.d_kwmethod, self, __VA_ARGS__) #else /* DEFINE_DeeSeq_Default... */ #error "Invalid configuration" @@ -245,7 +263,7 @@ DEFINE_UINT8(Dee_int_SIZE_MAX, (uint8_t)-1); /* Functions that need additional variants for sequence sub-types that don't have indices (sets, maps) */ INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultAnyWithCallAttrAny(DeeObject *self) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, 0, NULL); + DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, &str___seq_any__, 0, NULL); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -260,7 +278,7 @@ LOCAL_DeeSeq_DefaultAnyWithKeyWithCallAttrAnyForSeq(DeeObject *self, DeeObject * args[0] = DeeInt_Zero; args[1] = (DeeObject *)&Dee_int_SIZE_MAX; args[2] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, 3, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, &str___seq_any__, 3, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -271,7 +289,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultAnyWithKeyWithCallAttrAnyForSetOrMap(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_any_data, &str_any, &str___seq_any__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -281,7 +299,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultAnyWithRangeWithCallAttrAny(DeeObject *self, size_t start, size_t end) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_any_data, &str_any, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_any_data, &str_any, &str___seq_any__, PCKuSIZ PCKuSIZ, start, end); if unlikely(!result) goto err; @@ -292,7 +310,7 @@ err: INTERN WUNUSED NONNULL((1, 4)) int DCALL LOCAL_DeeSeq_DefaultAnyWithRangeAndKeyWithCallAttrAny(DeeObject *self, size_t start, size_t end, DeeObject *key) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_any_data, &str_any, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_any_data, &str_any, &str___seq_any__, PCKuSIZ PCKuSIZ "o", start, end, key); if unlikely(!result) goto err; @@ -303,7 +321,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultAllWithCallAttrAll(DeeObject *self) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, 0, NULL); + DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, &str___seq_all__, 0, NULL); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -318,7 +336,7 @@ LOCAL_DeeSeq_DefaultAllWithKeyWithCallAttrAllForSeq(DeeObject *self, DeeObject * args[0] = DeeInt_Zero; args[1] = (DeeObject *)&Dee_int_SIZE_MAX; args[2] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, 3, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, &str___seq_all__, 3, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -329,7 +347,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultAllWithKeyWithCallAttrAllForSetOrMap(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_all_data, &str_all, &str___seq_all__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -339,7 +357,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultAllWithRangeWithCallAttrAll(DeeObject *self, size_t start, size_t end) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_all_data, &str_all, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_all_data, &str_all, &str___seq_all__, PCKuSIZ PCKuSIZ, start, end); if unlikely(!result) goto err; @@ -350,7 +368,7 @@ err: INTERN WUNUSED NONNULL((1, 4)) int DCALL LOCAL_DeeSeq_DefaultAllWithRangeAndKeyWithCallAttrAll(DeeObject *self, size_t start, size_t end, DeeObject *key) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_all_data, &str_all, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_all_data, &str_all, &str___seq_all__, PCKuSIZ PCKuSIZ "o", start, end, key); if unlikely(!result) goto err; @@ -361,7 +379,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultParityWithCallAttrParity(DeeObject *self) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, 0, NULL); + DREF DeeObject *result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, &str___seq_parity__, 0, NULL); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -376,7 +394,7 @@ LOCAL_DeeSeq_DefaultParityWithKeyWithCallAttrParityForSeq(DeeObject *self, DeeOb args[0] = DeeInt_Zero; args[1] = (DeeObject *)&Dee_int_SIZE_MAX; args[2] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, 3, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, &str___seq_parity__, 3, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -387,7 +405,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultParityWithKeyWithCallAttrParityForSetOrMap(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_parity_data, &str_parity, &str___seq_parity__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -397,7 +415,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultParityWithRangeWithCallAttrParity(DeeObject *self, size_t start, size_t end) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_parity_data, &str_parity, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_parity_data, &str_parity, &str___seq_parity__, PCKuSIZ PCKuSIZ, start, end); if unlikely(!result) goto err; @@ -408,7 +426,7 @@ err: INTERN WUNUSED NONNULL((1, 4)) int DCALL LOCAL_DeeSeq_DefaultParityWithRangeAndKeyWithCallAttrParity(DeeObject *self, size_t start, size_t end, DeeObject *key) { - DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_parity_data, &str_parity, + DREF DeeObject *result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_parity_data, &str_parity, &str___seq_parity__, PCKuSIZ PCKuSIZ "o", start, end, key); if unlikely(!result) goto err; @@ -420,7 +438,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultReduceWithCallAttrReduce(DeeObject *self, DeeObject *combine) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, 1, &combine); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, &str___seq_reduce__, 1, &combine); } INTERN WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL @@ -430,7 +448,7 @@ LOCAL_DeeSeq_DefaultReduceWithInitWithCallAttrReduceForSeq(DeeObject *self, DeeO args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = init; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, 4, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, &str___seq_reduce__, 4, args); } INTERN WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL @@ -438,22 +456,22 @@ LOCAL_DeeSeq_DefaultReduceWithInitWithCallAttrReduceForSetOrMap(DeeObject *self, DeeObject *args[2]; args[0] = combine; args[1] = init; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, 2, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_reduce_data, &str_reduce, &str___seq_reduce__, 2, args); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultReduceWithRangeWithCallAttrReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reduce_data, &str_reduce, "o" PCKuSIZ PCKuSIZ, combine, start, end); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reduce_data, &str_reduce, &str___seq_reduce__, "o" PCKuSIZ PCKuSIZ, combine, start, end); } INTERN WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultReduceWithRangeAndInitWithCallAttrReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reduce_data, &str_reduce, "o" PCKuSIZ PCKuSIZ "o", combine, start, end, init); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reduce_data, &str_reduce, &str___seq_reduce__, "o" PCKuSIZ PCKuSIZ "o", combine, start, end, init); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMinWithCallAttrMin(DeeObject *self) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, 0, NULL); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, &str___seq_min__, 0, NULL); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL @@ -462,27 +480,27 @@ LOCAL_DeeSeq_DefaultMinWithKeyWithCallAttrMinForSeq(DeeObject *self, DeeObject * args[0] = DeeInt_Zero; args[1] = (DeeObject *)&Dee_int_SIZE_MAX; args[2] = key; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, 3, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, &str___seq_min__, 3, args); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMinWithKeyWithCallAttrMinForSetOrMap(DeeObject *self, DeeObject *key) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, 1, &key); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_min_data, &str_min, &str___seq_min__, 1, &key); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMinWithRangeWithCallAttrMin(DeeObject *self, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_min_data, &str_min, PCKuSIZ PCKuSIZ, start, end); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_min_data, &str_min, &str___seq_min__, PCKuSIZ PCKuSIZ, start, end); } INTERN WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMinWithRangeAndKeyWithCallAttrMin(DeeObject *self, size_t start, size_t end, DeeObject *key) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_min_data, &str_min, PCKuSIZ PCKuSIZ "o", start, end, key); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_min_data, &str_min, &str___seq_min__, PCKuSIZ PCKuSIZ "o", start, end, key); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMaxWithCallAttrMax(DeeObject *self) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, 0, NULL); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, &str___seq_max__, 0, NULL); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL @@ -491,38 +509,38 @@ LOCAL_DeeSeq_DefaultMaxWithKeyWithCallAttrMaxForSeq(DeeObject *self, DeeObject * args[0] = DeeInt_Zero; args[1] = (DeeObject *)&Dee_int_SIZE_MAX; args[2] = key; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, 3, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, &str___seq_max__, 3, args); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMaxWithKeyWithCallAttrMaxForSetOrMap(DeeObject *self, DeeObject *key) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, 1, &key); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_max_data, &str_max, &str___seq_max__, 1, &key); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMaxWithRangeWithCallAttrMax(DeeObject *self, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_max_data, &str_max, PCKuSIZ PCKuSIZ, start, end); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_max_data, &str_max, &str___seq_max__, PCKuSIZ PCKuSIZ, start, end); } INTERN WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultMaxWithRangeAndKeyWithCallAttrMax(DeeObject *self, size_t start, size_t end, DeeObject *key) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_max_data, &str_max, PCKuSIZ PCKuSIZ "o", start, end, key); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_max_data, &str_max, &str___seq_max__, PCKuSIZ PCKuSIZ "o", start, end, key); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultSumWithCallAttrSum(DeeObject *self) { - return LOCAL_DeeObject_CallAttr(self, tsc_seq_sum_data, &str_sum, 0, NULL); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_sum_data, &str_sum, &str___seq_sum__, 0, NULL); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultSumWithRangeWithCallAttrSum(DeeObject *self, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sum_data, &str_sum, PCKuSIZ PCKuSIZ, start, end); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sum_data, &str_sum, &str___seq_sum__, PCKuSIZ PCKuSIZ, start, end); } INTERN WUNUSED NONNULL((1, 2)) size_t DCALL LOCAL_DeeSeq_DefaultCountWithCallAttrCount(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, &str___seq_count__, 1, &item); if unlikely(!result) goto err; return DeeObject_AsDirectSizeInherited(result); @@ -538,7 +556,7 @@ LOCAL_DeeSeq_DefaultCountWithKeyWithCallAttrCountForSeq(DeeObject *self, DeeObje args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, 4, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, &str___seq_count__, 4, args); if unlikely(!result) goto err; return DeeObject_AsDirectSizeInherited(result); @@ -552,7 +570,7 @@ LOCAL_DeeSeq_DefaultCountWithKeyWithCallAttrCountForSetOrMap(DeeObject *self, De DeeObject *args[2]; args[0] = item; args[1] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_count_data, &str_count, &str___seq_count__, 2, args); if unlikely(!result) goto err; return DeeObject_AsDirectSizeInherited(result); @@ -563,7 +581,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) size_t DCALL LOCAL_DeeSeq_DefaultCountWithRangeWithCallAttrCount(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_count_data, &str_count, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_count_data, &str_count, &str___seq_count__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; return DeeObject_AsDirectSizeInherited(result); @@ -574,7 +592,7 @@ err: INTERN WUNUSED NONNULL((1, 2, 5)) size_t DCALL LOCAL_DeeSeq_DefaultCountWithRangeAndKeyWithCallAttrCount(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_count_data, &str_count, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_count_data, &str_count, &str___seq_count__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; return DeeObject_AsDirectSizeInherited(result); @@ -585,7 +603,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultContainsWithCallAttrContains(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, &str___seq_contains__, 1, &item); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -601,7 +619,7 @@ LOCAL_DeeSeq_DefaultContainsWithKeyWithCallAttrContainsForSeq(DeeObject *self, D args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, 4, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, &str___seq_contains__, 4, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -615,7 +633,7 @@ LOCAL_DeeSeq_DefaultContainsWithKeyWithCallAttrContainsForSetOrMap(DeeObject *se DeeObject *args[2]; args[0] = item; args[1] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_contains_data, &str_contains, &str___seq_contains__, 2, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -626,7 +644,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultContainsWithRangeWithCallAttrContains(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_contains_data, &str_contains, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_contains_data, &str_contains, &str___seq_contains__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -637,7 +655,7 @@ err: INTERN WUNUSED NONNULL((1, 2, 5)) int DCALL LOCAL_DeeSeq_DefaultContainsWithRangeAndKeyWithCallAttrContains(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_contains_data, &str_contains, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_contains_data, &str_contains, &str___seq_contains__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -652,7 +670,7 @@ LOCAL_DeeSeq_DefaultLocateWithCallAttrLocateForSeq(DeeObject *self, DeeObject *m args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = def; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_locate_data, &str_locate, 4, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_locate_data, &str_locate, &str___seq_locate__, 4, args); } INTERN WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL @@ -660,23 +678,23 @@ LOCAL_DeeSeq_DefaultLocateWithCallAttrLocateForSetOrMap(DeeObject *self, DeeObje DeeObject *args[2]; args[0] = match; args[1] = def; - return LOCAL_DeeObject_CallAttr(self, tsc_seq_locate_data, &str_locate, 2, args); + return LOCAL_DeeObject_CallAttr(self, tsc_seq_locate_data, &str_locate, &str___seq_locate__, 2, args); } INTERN WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultLocateWithRangeWithCallAttrLocate(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *def) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_locate_data, &str_locate, "o" PCKuSIZ PCKuSIZ "o", item, start, end, def); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_locate_data, &str_locate, &str___seq_locate__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, def); } INTERN WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultRLocateWithRangeWithCallAttrRLocate(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *def) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_rlocate_data, &str_rlocate, "o" PCKuSIZ PCKuSIZ "o", item, start, end, def); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_rlocate_data, &str_rlocate, &str___seq_rlocate__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, def); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultStartsWithWithCallAttrStartsWith(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, &str___seq_startswith__, 1, &item); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -692,7 +710,7 @@ LOCAL_DeeSeq_DefaultStartsWithWithKeyWithCallAttrStartsWithForSeq(DeeObject *sel args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, 4, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, &str___seq_startswith__, 4, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -706,7 +724,7 @@ LOCAL_DeeSeq_DefaultStartsWithWithKeyWithCallAttrStartsWithForSetOrMap(DeeObject DeeObject *args[2]; args[0] = item; args[1] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_startswith_data, &str_startswith, &str___seq_startswith__, 2, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -717,7 +735,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultStartsWithWithRangeWithCallAttrStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_startswith_data, &str_startswith, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_startswith_data, &str_startswith, &str___seq_startswith__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -728,7 +746,7 @@ err: INTERN WUNUSED NONNULL((1, 2, 5)) int DCALL LOCAL_DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallAttrStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_startswith_data, &str_startswith, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_startswith_data, &str_startswith, &str___seq_startswith__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -739,7 +757,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultEndsWithWithCallAttrEndsWith(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, &str___seq_endswith__, 1, &item); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -755,7 +773,7 @@ LOCAL_DeeSeq_DefaultEndsWithWithKeyWithCallAttrEndsWithForSeq(DeeObject *self, D args[1] = DeeInt_Zero; args[2] = (DeeObject *)&Dee_int_SIZE_MAX; args[3] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, 4, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, &str___seq_endswith__, 4, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -769,7 +787,7 @@ LOCAL_DeeSeq_DefaultEndsWithWithKeyWithCallAttrEndsWithForSetOrMap(DeeObject *se DeeObject *args[2]; args[0] = item; args[1] = key; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_endswith_data, &str_endswith, &str___seq_endswith__, 2, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -780,7 +798,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultEndsWithWithRangeWithCallAttrEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_endswith_data, &str_endswith, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_endswith_data, &str_endswith, &str___seq_endswith__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -791,7 +809,7 @@ err: INTERN WUNUSED NONNULL((1, 2, 5)) int DCALL LOCAL_DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallAttrEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_endswith_data, &str_endswith, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_endswith_data, &str_endswith, &str___seq_endswith__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -808,7 +826,7 @@ LOCAL_DeeSeq_DefaultFindWithCallAttrFind(DeeObject *self, DeeObject *item, size_ int temp; Dee_ssize_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_find_data, &str_find, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_find_data, &str_find, &str___seq_find__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; temp = DeeObject_AsSSize(result, &result_index); @@ -827,7 +845,7 @@ LOCAL_DeeSeq_DefaultFindWithKeyWithCallAttrFind(DeeObject *self, DeeObject *item int temp; Dee_ssize_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_find_data, &str_find, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_find_data, &str_find, &str___seq_find__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; temp = DeeObject_AsSSize(result, &result_index); @@ -846,7 +864,7 @@ LOCAL_DeeSeq_DefaultRFindWithCallAttrRFind(DeeObject *self, DeeObject *item, siz int temp; Dee_ssize_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rfind_data, &str_rfind, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rfind_data, &str_rfind, &str___seq_rfind__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; temp = DeeObject_AsSSize(result, &result_index); @@ -865,7 +883,7 @@ LOCAL_DeeSeq_DefaultRFindWithKeyWithCallAttrRFind(DeeObject *self, DeeObject *it int temp; Dee_ssize_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rfind_data, &str_rfind, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rfind_data, &str_rfind, &str___seq_rfind__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; temp = DeeObject_AsSSize(result, &result_index); @@ -882,7 +900,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultEraseWithCallAttrErase(DeeObject *self, size_t index, size_t count) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_erase_data, &str_erase, PCKuSIZ PCKuSIZ, index, count); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_erase_data, &str_erase, &str___seq_erase__, PCKuSIZ PCKuSIZ, index, count); if unlikely(!result) goto err; Dee_Decref(result); @@ -894,7 +912,7 @@ err: INTERN WUNUSED NONNULL((1, 3)) int DCALL LOCAL_DeeSeq_DefaultInsertWithCallAttrInsert(DeeObject *self, size_t index, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_insert_data, &str_insert, PCKuSIZ "o", index, item); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_insert_data, &str_insert, &str___seq_insert__, PCKuSIZ "o", index, item); if unlikely(!result) goto err; Dee_Decref(result); @@ -906,7 +924,7 @@ err: INTERN WUNUSED NONNULL((1, 3)) int DCALL LOCAL_DeeSeq_DefaultInsertAllWithCallAttrInsertAll(DeeObject *self, size_t index, DeeObject *items) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_insertall_data, &str_insertall, PCKuSIZ "o", index, items); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_insertall_data, &str_insertall, &str___seq_insertall__, PCKuSIZ "o", index, items); if unlikely(!result) goto err; Dee_Decref(result); @@ -918,7 +936,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultPushFrontWithCallAttrPushFront(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_pushfront_data, &str_pushfront, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_pushfront_data, &str_pushfront, &str___seq_pushfront__, 1, &item); if unlikely(!result) goto err; Dee_Decref(result); @@ -930,7 +948,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultAppendWithCallAttrAppend(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_append_data, &str_append, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_append_data, &str_append, &str___seq_append__, 1, &item); if unlikely(!result) goto err; Dee_Decref(result); @@ -943,7 +961,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultAppendWithCallAttrPushBack(DeeObject *self, DeeObject *item) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_append_data, &str_pushback, 1, &item); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_append_data, &str_pushback, &str___seq_append__, 1, &item); if unlikely(!result) goto err; Dee_Decref(result); @@ -956,7 +974,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultExtendWithCallAttrExtend(DeeObject *self, DeeObject *items) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_extend_data, &str_extend, 1, &items); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_extend_data, &str_extend, &str___seq_extend__, 1, &items); if unlikely(!result) goto err; Dee_Decref(result); @@ -967,13 +985,13 @@ err: INTERN WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultXchItemIndexWithCallAttrXchItem(DeeObject *self, size_t index, DeeObject *value) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_xchitem_data, &str_xchitem, PCKuSIZ "o", index, value); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_xchitem_data, &str_xchitem, &str___seq_xchitem__, PCKuSIZ "o", index, value); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultClearWithCallAttrClear(DeeObject *self) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_seq_clear_data, &str_clear, 0, NULL); + result = LOCAL_DeeObject_CallAttr(self, tsc_seq_clear_data, &str_clear, &str___seq_clear__, 0, NULL); if unlikely(!result) goto err; Dee_Decref(result); @@ -984,14 +1002,14 @@ err: INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultPopWithCallAttrPop(DeeObject *self, Dee_ssize_t index) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_pop_data, &str_pop, PCKdSIZ, index); + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_pop_data, &str_pop, &str___seq_pop__, PCKdSIZ, index); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_remove_data, &str_remove, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_remove_data, &str_remove, &str___seq_remove__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) @@ -1005,7 +1023,7 @@ INTERN WUNUSED NONNULL((1, 2, 5)) int DCALL LOCAL_DeeSeq_DefaultRemoveWithKeyWithCallAttrRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_remove_data, &str_remove, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_remove_data, &str_remove, &str___seq_remove__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) @@ -1019,7 +1037,7 @@ INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultRRemoveWithCallAttrRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rremove_data, &str_rremove, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rremove_data, &str_rremove, &str___seq_rremove__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) @@ -1033,7 +1051,7 @@ INTERN WUNUSED NONNULL((1, 2, 5)) int DCALL LOCAL_DeeSeq_DefaultRRemoveWithKeyWithCallAttrRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rremove_data, &str_rremove, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_rremove_data, &str_rremove, &str___seq_rremove__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) @@ -1047,7 +1065,7 @@ INTERN WUNUSED NONNULL((1, 2)) size_t DCALL LOCAL_DeeSeq_DefaultRemoveAllWithCallAttrRemoveAll(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeall_data, &str_removeall, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeall_data, &str_removeall, &str___seq_removeall__, "o" PCKuSIZ PCKuSIZ PCKuSIZ, item, start, end, max); if unlikely(!result) @@ -1062,7 +1080,7 @@ LOCAL_DeeSeq_DefaultRemoveAllWithKeyWithCallAttrRemoveAll(DeeObject *self, DeeOb size_t start, size_t end, size_t max, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeall_data, &str_removeall, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeall_data, &str_removeall, &str___seq_removeall__, "o" PCKuSIZ PCKuSIZ PCKuSIZ "o", item, start, end, max, key); if unlikely(!result) @@ -1076,7 +1094,7 @@ INTERN WUNUSED NONNULL((1, 2)) size_t DCALL LOCAL_DeeSeq_DefaultRemoveIfWithCallAttrRemoveIf(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeif_data, &str_removeif, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_removeif_data, &str_removeif, &str___seq_removeif__, "o" PCKuSIZ PCKuSIZ PCKuSIZ, should, start, end, max); if unlikely(!result) @@ -1089,7 +1107,7 @@ err: INTERN WUNUSED NONNULL((1, 3)) int DCALL LOCAL_DeeSeq_DefaultResizeWithCallAttrResize(DeeObject *self, size_t newsize, DeeObject *filler) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_resize_data, &str_resize, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_resize_data, &str_resize, &str___seq_resize__, PCKuSIZ "o", newsize, filler); if unlikely(!result) goto err; @@ -1102,7 +1120,7 @@ err: INTERN WUNUSED NONNULL((1, 4)) int DCALL LOCAL_DeeSeq_DefaultFillWithCallAttrFill(DeeObject *self, size_t start, size_t end, DeeObject *filler) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_fill_data, &str_fill, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_fill_data, &str_fill, &str___seq_fill__, PCKuSIZ PCKuSIZ "o", start, end, filler); if unlikely(!result) @@ -1116,7 +1134,7 @@ err: INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultReverseWithCallAttrReverse(DeeObject *self, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_reverse_data, &str_reverse, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_reverse_data, &str_reverse, &str___seq_reverse__, PCKuSIZ PCKuSIZ, start, end); if unlikely(!result) goto err; @@ -1128,14 +1146,14 @@ err: INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultReversedWithCallAttrReversed(DeeObject *self, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reversed_data, &str_reversed, + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_reversed_data, &str_reversed, &str___seq_reversed__, PCKuSIZ PCKuSIZ, start, end); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultSortWithCallAttrSort(DeeObject *self, size_t start, size_t end) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_sort_data, &str_sort, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_sort_data, &str_sort, &str___seq_sort__, PCKuSIZ PCKuSIZ, start, end); if unlikely(!result) goto err; @@ -1148,7 +1166,7 @@ err: INTERN WUNUSED NONNULL((1, 4)) int DCALL LOCAL_DeeSeq_DefaultSortWithKeyWithCallAttrSort(DeeObject *self, size_t start, size_t end, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_sort_data, &str_sort, + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_sort_data, &str_sort, &str___seq_sort__, PCKuSIZ PCKuSIZ "o", start, end, key); if unlikely(!result) goto err; @@ -1160,13 +1178,13 @@ err: INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultSortedWithCallAttrSorted(DeeObject *self, size_t start, size_t end) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sorted_data, &str_sorted, + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sorted_data, &str_sorted, &str___seq_sorted__, PCKuSIZ PCKuSIZ, start, end); } INTERN WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultSortedWithKeyWithCallAttrSorted(DeeObject *self, size_t start, size_t end, DeeObject *key) { - return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sorted_data, &str_sorted, + return LOCAL_DeeObject_CallAttrf(self, tsc_seq_sorted_data, &str_sorted, &str___seq_sorted__, PCKuSIZ PCKuSIZ "o", start, end, key); } @@ -1176,7 +1194,7 @@ LOCAL_DeeSeq_DefaultBFindWithCallAttrBFind(DeeObject *self, DeeObject *item, int temp; size_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bfind_data, &str_bfind, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bfind_data, &str_bfind, &str___seq_bfind__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; if (DeeNone_Check(result)) { @@ -1200,7 +1218,7 @@ LOCAL_DeeSeq_DefaultBFindWithKeyWithCallAttrBFind(DeeObject *self, DeeObject *it int temp; size_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bfind_data, &str_bfind, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bfind_data, &str_bfind, &str___seq_bfind__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; if (DeeNone_Check(result)) { @@ -1224,7 +1242,7 @@ LOCAL_DeeSeq_DefaultBPositionWithCallAttrBPosition(DeeObject *self, DeeObject *i int temp; size_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bposition_data, &str_bposition, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bposition_data, &str_bposition, &str___seq_bposition__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; temp = DeeObject_AsSize(result, &result_index); @@ -1244,7 +1262,7 @@ LOCAL_DeeSeq_DefaultBPositionWithKeyWithCallAttrBPosition(DeeObject *self, DeeOb int temp; size_t result_index; DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bposition_data, &str_bposition, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_bposition_data, &str_bposition, &str___seq_bposition__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; temp = DeeObject_AsSize(result, &result_index); @@ -1263,7 +1281,7 @@ LOCAL_DeeSeq_DefaultBRangeWithCallAttrBRange(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]) { int temp; DREF DeeObject *result, *result_range_objs[2]; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_brange_data, &str_brange, "o" PCKuSIZ PCKuSIZ, item, start, end); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_brange_data, &str_brange, &str___seq_brange__, "o" PCKuSIZ PCKuSIZ, item, start, end); if unlikely(!result) goto err; temp = DeeObject_Unpack(result, 2, result_range_objs); @@ -1287,7 +1305,7 @@ LOCAL_DeeSeq_DefaultBRangeWithKeyWithCallAttrBRange(DeeObject *self, DeeObject * size_t result_range[2]) { int temp; DREF DeeObject *result, *result_range_objs[2]; - result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_brange_data, &str_brange, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); + result = LOCAL_DeeObject_CallAttrf(self, tsc_seq_brange_data, &str_brange, &str___seq_brange__, "o" PCKuSIZ PCKuSIZ "o", item, start, end, key); if unlikely(!result) goto err; temp = DeeObject_Unpack(result, 2, result_range_objs); @@ -1313,7 +1331,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSet_DefaultInsertWithCallAttrInsert(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_set_insert_data, &str_insert, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_set_insert_data, &str_insert, &str___set_insert__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -1324,7 +1342,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSet_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_set_remove_data, &str_remove, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_set_remove_data, &str_remove, &str___set_remove__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -1334,13 +1352,13 @@ err: INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSet_DefaultUnifyWithCallAttrUnify(DeeObject *self, DeeObject *key) { - return LOCAL_DeeObject_CallAttr(self, tsc_set_unify_data, &str_unify, 1, &key); + return LOCAL_DeeObject_CallAttr(self, tsc_set_unify_data, &str_unify, &str___set_unify__, 1, &key); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSet_DefaultInsertAllWithCallAttrInsertAll(DeeObject *self, DeeObject *keys) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_set_insertall_data, &str_insertall, 1, &keys); + result = LOCAL_DeeObject_CallAttr(self, tsc_set_insertall_data, &str_insertall, &str___set_insertall__, 1, &keys); if unlikely(!result) goto err; Dee_Decref(result); @@ -1352,7 +1370,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSet_DefaultRemoveAllWithCallAttrRemoveAll(DeeObject *self, DeeObject *keys) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_set_removeall_data, &str_removeall, 1, &keys); + result = LOCAL_DeeObject_CallAttr(self, tsc_set_removeall_data, &str_removeall, &str___set_removeall__, 1, &keys); if unlikely(!result) goto err; Dee_Decref(result); @@ -1363,12 +1381,12 @@ err: INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSet_DefaultPopWithCallAttrPop(DeeObject *self) { - return LOCAL_DeeObject_CallAttr(self, tsc_set_pop_data, &str_pop, 0, NULL); + return LOCAL_DeeObject_CallAttr(self, tsc_set_pop_data, &str_pop, &str___set_pop__, 0, NULL); } INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeSet_DefaultPopWithDefaultWithCallAttrPop(DeeObject *self, DeeObject *default_) { - return LOCAL_DeeObject_CallAttr(self, tsc_set_pop_data, &str_pop, 1, &default_); + return LOCAL_DeeObject_CallAttr(self, tsc_set_pop_data, &str_pop, &str___set_pop__, 1, &default_); } @@ -1382,7 +1400,7 @@ LOCAL_DeeMap_DefaultSetOldWithCallAttrSetOld(DeeObject *self, DeeObject *key, De DeeObject *args[2]; args[0] = key; args[1] = value; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_setold_data, &str_setold, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_setold_data, &str_setold, &str___map_setold__, 2, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -1397,7 +1415,7 @@ LOCAL_DeeMap_DefaultSetOldExWithCallAttrSetOldEx(DeeObject *self, DeeObject *key DREF DeeObject *result, *status[2]; args[0] = key; args[1] = value; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_setold_ex_data, &str_setold_ex, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_setold_ex_data, &str_setold_ex, &str___map_setold_ex__, 2, args); if unlikely(!result) goto err; temp = DeeObject_Unpack(result, 2, status); @@ -1423,7 +1441,7 @@ LOCAL_DeeMap_DefaultSetNewWithCallAttrSetNew(DeeObject *self, DeeObject *key, De DeeObject *args[2]; args[0] = key; args[1] = value; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_setnew_data, &str_setnew, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_setnew_data, &str_setnew, &str___map_setnew__, 2, args); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -1438,7 +1456,7 @@ LOCAL_DeeMap_DefaultSetNewExWithCallAttrSetNewEx(DeeObject *self, DeeObject *key DREF DeeObject *result, *status[2]; args[0] = key; args[1] = value; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_setnew_ex_data, &str_setnew_ex, 2, args); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_setnew_ex_data, &str_setnew_ex, &str___map_setnew_ex__, 2, args); if unlikely(!result) goto err; temp = DeeObject_Unpack(result, 2, status); @@ -1464,13 +1482,13 @@ LOCAL_DeeMap_DefaultSetDefaultWithCallAttrSetDefault(DeeObject *self, DeeObject DeeObject *args[2]; args[0] = key; args[1] = value; - return LOCAL_DeeObject_CallAttr(self, tsc_map_setdefault_data, &str_setdefault, 2, args); + return LOCAL_DeeObject_CallAttr(self, tsc_map_setdefault_data, &str_setdefault, &str___map_setdefault__, 2, args); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeMap_DefaultUpdateWithCallAttrUpdate(DeeObject *self, DeeObject *items) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_update_data, &str_update, 1, &items); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_update_data, &str_update, &str___map_update__, 1, &items); if unlikely(!result) goto err; Dee_Decref(result); @@ -1482,7 +1500,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeMap_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *key) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_remove_data, &str_remove, 1, &key); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_remove_data, &str_remove, &str___map_remove__, 1, &key); if unlikely(!result) goto err; return DeeObject_BoolInherited(result); @@ -1493,7 +1511,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeMap_DefaultRemoveKeysWithCallAttrRemoveKeys(DeeObject *self, DeeObject *keys) { DREF DeeObject *result; - result = LOCAL_DeeObject_CallAttr(self, tsc_map_removekeys_data, &str_removekeys, 1, &keys); + result = LOCAL_DeeObject_CallAttr(self, tsc_map_removekeys_data, &str_removekeys, &str___map_removekeys__, 1, &keys); if unlikely(!result) goto err; Dee_Decref(result); @@ -1504,7 +1522,7 @@ err: INTERN WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultPopWithCallAttrPop(DeeObject *self, DeeObject *key) { - return LOCAL_DeeObject_CallAttr(self, tsc_map_pop_data, &str_pop, 1, &key); + return LOCAL_DeeObject_CallAttr(self, tsc_map_pop_data, &str_pop, &str___map_pop__, 1, &key); } INTERN WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL @@ -1512,78 +1530,78 @@ LOCAL_DeeMap_DefaultPopWithDefaultWithCallAttrPop(DeeObject *self, DeeObject *ke DeeObject *args[2]; args[0] = key; args[1] = default_; - return LOCAL_DeeObject_CallAttr(self, tsc_map_pop_data, &str_pop, 2, args); + return LOCAL_DeeObject_CallAttr(self, tsc_map_pop_data, &str_pop, &str___map_pop__, 2, args); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultPopItemWithCallAttrPopItem(DeeObject *self) { - return LOCAL_DeeObject_CallAttr(self, tsc_map_popitem_data, &str_popitem, 0, NULL); + return LOCAL_DeeObject_CallAttr(self, tsc_map_popitem_data, &str_popitem, &str___map_popitem__, 0, NULL); } #ifdef LOCAL_DeeObject_GetAttr INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultGetFirstWithCallAttrGetFirst(DeeObject *__restrict self) { - return LOCAL_DeeObject_GetAttr(self, tsc_seq_getfirst_data, &str_first); + return LOCAL_DeeObject_GetAttr(self, tsc_seq_getfirst_data, &str_first, &str___seq_first__); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultBoundFirstWithCallAttrGetFirst(DeeObject *__restrict self) { - return LOCAL_DeeObject_BoundAttr(self, tsc_seq_getfirst_data, &str_first); + return LOCAL_DeeObject_BoundAttr(self, tsc_seq_getfirst_data, &str_first, &str___seq_first__); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultDelFirstWithCallAttrDelFirst(DeeObject *__restrict self) { - return LOCAL_DeeObject_DelAttr(self, tsc_seq_delfirst_data, &str_first); + return LOCAL_DeeObject_DelAttr(self, tsc_seq_delfirst_data, &str_first, &str___seq_first__); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultSetFirstWithCallAttrSetFirst(DeeObject *self, DeeObject *value) { - return LOCAL_DeeObject_SetAttr(self, tsc_seq_delfirst_data, &str_first, value); + return LOCAL_DeeObject_SetAttr(self, tsc_seq_delfirst_data, &str_first, &str___seq_first__, value); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultGetLastWithCallAttrGetLast(DeeObject *__restrict self) { - return LOCAL_DeeObject_GetAttr(self, tsc_seq_getlast_data, &str_last); + return LOCAL_DeeObject_GetAttr(self, tsc_seq_getlast_data, &str_last, &str___seq_last__); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultBoundLastWithCallAttrGetLast(DeeObject *__restrict self) { - return LOCAL_DeeObject_BoundAttr(self, tsc_seq_getlast_data, &str_last); + return LOCAL_DeeObject_BoundAttr(self, tsc_seq_getlast_data, &str_last, &str___seq_last__); } INTERN WUNUSED NONNULL((1)) int DCALL LOCAL_DeeSeq_DefaultDelLastWithCallAttrDelLast(DeeObject *__restrict self) { - return LOCAL_DeeObject_DelAttr(self, tsc_seq_dellast_data, &str_last); + return LOCAL_DeeObject_DelAttr(self, tsc_seq_dellast_data, &str_last, &str___seq_last__); } INTERN WUNUSED NONNULL((1, 2)) int DCALL LOCAL_DeeSeq_DefaultSetLastWithCallAttrSetLast(DeeObject *self, DeeObject *value) { - return LOCAL_DeeObject_SetAttr(self, tsc_seq_dellast_data, &str_last, value); + return LOCAL_DeeObject_SetAttr(self, tsc_seq_dellast_data, &str_last, &str___seq_last__, value); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeSeq_DefaultCachedWithCallAttrCached(DeeObject *__restrict self) { - return LOCAL_DeeObject_GetAttr(self, tsc_seq_cached_data, &str_cached); + return LOCAL_DeeObject_GetAttr(self, tsc_seq_cached_data, &str_cached, &str___seq_cached__); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultKeysWithCallAttrKeys(DeeObject *self) { - return LOCAL_DeeObject_GetAttr(self, tsc_map_keys_data, &str_keys); + return LOCAL_DeeObject_GetAttr(self, tsc_map_keys_data, &str_keys, &str___map_keys__); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultValuesWithCallAttrValues(DeeObject *self) { - return LOCAL_DeeObject_GetAttr(self, tsc_map_values_data, &str_values); + return LOCAL_DeeObject_GetAttr(self, tsc_map_values_data, &str_values, &str___map_values__); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultIterKeysWithCallAttrIterKeys(DeeObject *self) { - return LOCAL_DeeObject_GetAttr(self, tsc_map_iterkeys_data, &str_iterkeys); + return LOCAL_DeeObject_GetAttr(self, tsc_map_iterkeys_data, &str_iterkeys, &str___map_iterkeys__); } INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL LOCAL_DeeMap_DefaultIterValuesWithCallAttrIterValues(DeeObject *self) { - return LOCAL_DeeObject_GetAttr(self, tsc_map_itervalues_data, &str_itervalues); + return LOCAL_DeeObject_GetAttr(self, tsc_map_itervalues_data, &str_itervalues, &str___map_itervalues__); } #endif /* LOCAL_DeeObject_GetAttr */ @@ -1728,6 +1746,7 @@ LOCAL_DeeMap_DefaultIterValuesWithCallAttrIterValues(DeeObject *self) { DECL_END #undef DEFINE_DeeSeq_DefaultFooWithCallAttrFoo +#undef DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo #undef DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction #undef DEFINE_DeeSeq_DefaultFooWithCallFooDataMethod #undef DEFINE_DeeSeq_DefaultFooWithCallFooDataKwMethod diff --git a/src/deemon/objects/seq/default-api-methods.c b/src/deemon/objects/seq/default-api-methods.c index bbb67ab1..ae35bc24 100644 --- a/src/deemon/objects/seq/default-api-methods.c +++ b/src/deemon/objects/seq/default-api-methods.c @@ -7697,6 +7697,8 @@ DECL_END #ifndef __INTELLISENSE__ #define DEFINE_DeeSeq_DefaultFooWithCallAttrFoo #include "default-api-methods-attrproxy-impl.c.inl" +#define DEFINE_DeeSeq_DefaultFooWithCallAttrExplicitFoo +#include "default-api-methods-attrproxy-impl.c.inl" #define DEFINE_DeeSeq_DefaultFooWithCallFooDataFunction #include "default-api-methods-attrproxy-impl.c.inl" #define DEFINE_DeeSeq_DefaultFooWithCallFooDataMethod diff --git a/src/deemon/objects/seq/default-api-require-method-impl.c.inl b/src/deemon/objects/seq/default-api-require-method-impl.c.inl index d6f2b1ac..ed528ee9 100644 --- a/src/deemon/objects/seq/default-api-require-method-impl.c.inl +++ b/src/deemon/objects/seq/default-api-require-method-impl.c.inl @@ -20,7 +20,7 @@ #ifdef __INTELLISENSE__ #include "default-api.c" //#define DEFINE_DeeType_RequireSeqTryGetFirst -//#define DEFINE_DeeType_RequireSeqGetFirst +#define DEFINE_DeeType_RequireSeqGetFirst //#define DEFINE_DeeType_RequireSeqBoundFirst //#define DEFINE_DeeType_RequireSeqDelFirst //#define DEFINE_DeeType_RequireSetFirst @@ -86,7 +86,7 @@ //#define DEFINE_DeeType_RequireSeqAppend //#define DEFINE_DeeType_RequireSeqExtend //#define DEFINE_DeeType_RequireSeqXchItemIndex -#define DEFINE_DeeType_RequireSeqClear +//#define DEFINE_DeeType_RequireSeqClear //#define DEFINE_DeeType_RequireSeqPop //#define DEFINE_DeeType_RequireSeqRemove //#define DEFINE_DeeType_RequireSeqRemoveWithKey @@ -909,7 +909,7 @@ DECL_BEGIN #else /* LOCAL_WITHOUT_ATTRIBUTE || LOCAL_IS_GETSET */ #define LOCAL_method_foo LOCAL_Attr_foo #endif /* !LOCAL_WITHOUT_ATTRIBUTE && !LOCAL_IS_GETSET */ -#endif /* !LOCAL_ */ +#endif /* !LOCAL_method_foo */ #ifndef LOCAL_Dee_SEQCLASS #define LOCAL_Dee_SEQCLASS Dee_SEQCLASS_SEQ @@ -941,10 +941,6 @@ DECL_BEGIN #endif /* LOCAL_Dee_SEQCLASS != ... */ #endif /* !LOCAL_default_seq_foo */ -#ifndef LOCAL_Attr_foo -#define LOCAL_Attr_foo LOCAL_foo -#endif /* !LOCAL_Attr_foo */ - #ifndef LOCAL_tsc_seq_foo #if LOCAL_Dee_SEQCLASS == Dee_SEQCLASS_SEQ #define LOCAL_tsc_seq_foo PP_CAT2(tsc_seq_, LOCAL_foo) @@ -1009,6 +1005,7 @@ DECL_BEGIN #endif /* LOCAL_Dee_SEQCLASS != ... */ #endif /* !LOCAL_DeeSeq_RequireFoo */ +#define LOCAL_DeeType_RequireSeqFoo_decodeattr PP_CAT3(DeeType_Require, LOCAL_DeeSeq_RequireFoo, _decodeattr) #define LOCAL_DeeType_RequireSeqFoo_private_uncached PP_CAT3(DeeType_Require, LOCAL_DeeSeq_RequireFoo, _private_uncached) #define LOCAL_DeeType_RequireSeqFoo_uncached PP_CAT3(DeeType_Require, LOCAL_DeeSeq_RequireFoo, _uncached) #define LOCAL_DeeType_RequireSeqFoo PP_CAT2(DeeType_Require, LOCAL_DeeSeq_RequireFoo) @@ -1019,15 +1016,18 @@ DECL_BEGIN #ifdef LOCAL_HAS_FOR_SEQ_SUFFIX #define LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSeq PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttr, LOCAL_Bar, ForSeq) +#define LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSeq PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttrExplicit, LOCAL_Bar, ForSeq) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSeq PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataFunctionForSeq) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataMethodForSeq PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataMethodForSeq) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethodForSeq PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataKwMethodForSeq) #define LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSetOrMap PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttr, LOCAL_Bar, ForSetOrMap) +#define LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSetOrMap PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttrExplicit, LOCAL_Bar, ForSetOrMap) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSetOrMap PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataFunctionForSetOrMap) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataMethodForSetOrMap PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataMethodForSetOrMap) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethodForSetOrMap PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataKwMethodForSetOrMap) #else /* LOCAL_HAS_FOR_SEQ_SUFFIX */ #define LOCAL_DeeSeq_DefaultFooWithCallAttrBar PP_CAT4(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttr, LOCAL_Bar) +#define LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBar PP_CAT4(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCallAttrExplicit, LOCAL_Bar) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataFunction) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataMethod PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataMethod) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethod PP_CAT5(LOCAL_DeeSeq_Default, LOCAL_Foo, WithCall, LOCAL_Bar, DataKwMethod) @@ -1041,26 +1041,49 @@ DECL_BEGIN #endif /* !LOCAL_DeeSeq_DefaultFooForEmpty */ +#ifndef LOCAL_WITHOUT_ATTRIBUTE +#ifndef LOCAL_Attr_foo +#define LOCAL_Attr_foo LOCAL_foo +#endif /* !LOCAL_Attr_foo */ + +#if !defined(LOCAL_EXPLICIT_Attr_foo) && !defined(LOCAL_WITHOUT_EXPLICIT_ATTRIBUTE) +#if LOCAL_Dee_SEQCLASS == Dee_SEQCLASS_SEQ +#define LOCAL_EXPLICIT_Attr_foo PP_CAT3(__seq_, LOCAL_Attr_foo, __) +#elif LOCAL_Dee_SEQCLASS == Dee_SEQCLASS_SET +#define LOCAL_EXPLICIT_Attr_foo PP_CAT3(__set_, LOCAL_Attr_foo, __) +#elif LOCAL_Dee_SEQCLASS == Dee_SEQCLASS_MAP +#define LOCAL_EXPLICIT_Attr_foo PP_CAT3(__map_, LOCAL_Attr_foo, __) +#endif /* LOCAL_Dee_SEQCLASS != ... */ +#endif /* !LOCAL_EXPLICIT_Attr_foo && !LOCAL_WITHOUT_EXPLICIT_ATTRIBUTE */ + #define LOCAL_CANONICAL_NAME_LENGTHOF COMPILER_STRLEN(PP_STR(LOCAL_Attr_foo)) #define LOCAL_CANONICAL_NAME_str PP_CAT2(str_, LOCAL_Attr_foo) #define LOCAL_CANONICAL_NAME_STR PP_CAT2(STR_, LOCAL_Attr_foo) #define LOCAL_CANONICAL_NAME_Dee_HashStr PP_CAT2(Dee_HashStr__, LOCAL_Attr_foo) +#ifdef LOCAL_EXPLICIT_Attr_foo +#define LOCAL_EXPLICIT_NAME_LENGTHOF COMPILER_STRLEN(PP_STR(LOCAL_EXPLICIT_Attr_foo)) +#define LOCAL_EXPLICIT_NAME_str PP_CAT2(str_, LOCAL_EXPLICIT_Attr_foo) +#define LOCAL_EXPLICIT_NAME_STR PP_CAT2(STR_, LOCAL_EXPLICIT_Attr_foo) +#define LOCAL_EXPLICIT_NAME_Dee_HashStr PP_CAT2(Dee_HashStr__, LOCAL_EXPLICIT_Attr_foo) +#endif /* LOCAL_EXPLICIT_Attr_foo */ - -/* Mutable sequence functions */ PRIVATE ATTR_PURE WUNUSED NONNULL((1, 2)) LOCAL_Dee_mh_seq_foo_t DCALL -LOCAL_DeeType_RequireSeqFoo_private_uncached(DeeTypeObject *orig_type, DeeTypeObject *self) { - unsigned int seqclass = DeeType_GetSeqClass(self); -#ifndef LOCAL_WITHOUT_ATTRIBUTE - struct Dee_attrinfo info; -#endif /* !LOCAL_WITHOUT_ATTRIBUTE */ - (void)orig_type; - (void)seqclass; +LOCAL_DeeType_RequireSeqFoo_decodeattr(struct Dee_attrinfo const *info, DeeTypeObject *self +#ifdef LOCAL_HAS_FOR_SEQ_SUFFIX + , unsigned int seqclass +#endif /* LOCAL_HAS_FOR_SEQ_SUFFIX */ +#ifdef LOCAL_EXPLICIT_Attr_foo + , bool is_explicit +#endif /* LOCAL_EXPLICIT_Attr_foo */ + ) { #ifdef LOCAL_HAS_FOR_SEQ_SUFFIX #define LOCAL_DeeSeq_DefaultFooWithCallAttrBar \ (*(seqclass == Dee_SEQCLASS_SEQ ? &LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSeq \ : &LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSetOrMap)) +#define LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBar \ + (*(seqclass == Dee_SEQCLASS_SEQ ? &LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSeq \ + : &LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSetOrMap)) #define LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction \ (*(seqclass == Dee_SEQCLASS_SEQ ? &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSeq \ : &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSetOrMap)) @@ -1072,112 +1095,161 @@ LOCAL_DeeType_RequireSeqFoo_private_uncached(DeeTypeObject *orig_type, DeeTypeOb : &LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethodForSetOrMap)) #endif /* LOCAL_HAS_FOR_SEQ_SUFFIX */ - /* Check if the type defines an attribute matching the canonical name of this function. */ -#ifndef LOCAL_WITHOUT_ATTRIBUTE -#ifdef LOCAL_ATTR_REQUIRED_SEQCLASS - if (seqclass == LOCAL_ATTR_REQUIRED_SEQCLASS) -#else /* LOCAL_ATTR_REQUIRED_SEQCLASS */ - if (seqclass != Dee_SEQCLASS_NONE) -#endif /* !LOCAL_ATTR_REQUIRED_SEQCLASS */ - { - if (DeeObject_TFindPrivateAttrInfoStringLenHash(self, NULL, - LOCAL_CANONICAL_NAME_STR, - LOCAL_CANONICAL_NAME_LENGTHOF, - LOCAL_CANONICAL_NAME_Dee_HashStr, - &info)) { - struct Dee_type_seq_cache *sc = DeeType_TryRequireSeqCache(self); - if likely(sc) { - switch (info.ai_type) { + struct Dee_type_seq_cache *sc = DeeType_TryRequireSeqCache(self); + switch (info->ai_type) { #ifdef LOCAL_IS_GETSET - case Dee_ATTRINFO_GETSET: { + case Dee_ATTRINFO_GETSET: { #ifdef LOCAL_IS_GETSET_GET - if (info.ai_value.v_getset->gs_get != &LOCAL_default_seq_foo) - return info.ai_value.v_getset->gs_get; + if (info->ai_value.v_getset->gs_get != &LOCAL_default_seq_foo) + return info->ai_value.v_getset->gs_get; #elif defined(LOCAL_IS_GETSET_BOUND) - if (info.ai_value.v_getset->gs_bound != &LOCAL_default_seq_foo) - return info.ai_value.v_getset->gs_bound; + if (info->ai_value.v_getset->gs_bound != &LOCAL_default_seq_foo) + return info->ai_value.v_getset->gs_bound; #elif defined(LOCAL_IS_GETSET_DEL) - if (info.ai_value.v_getset->gs_del != &LOCAL_default_seq_foo) - return info.ai_value.v_getset->gs_del; + if (info->ai_value.v_getset->gs_del != &LOCAL_default_seq_foo) + return info->ai_value.v_getset->gs_del; #elif defined(LOCAL_IS_GETSET_SET) - if (info.ai_value.v_getset->gs_set != &LOCAL_default_seq_foo) - return info.ai_value.v_getset->gs_set; + if (info->ai_value.v_getset->gs_set != &LOCAL_default_seq_foo) + return info->ai_value.v_getset->gs_set; #endif /* ... */ - return &LOCAL_DeeSeq_DefaultFooForEmpty; - } break; + return &LOCAL_DeeSeq_DefaultFooForEmpty; + } break; - case Dee_ATTRINFO_ATTR: + case Dee_ATTRINFO_ATTR: + if unlikely(!sc) + break; #if defined(LOCAL_IS_GETSET_GET) || defined(LOCAL_IS_GETSET_BOUND) - if ((info.ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) == - /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) + if ((info->ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) == + /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) #else /* LOCAL_IS_GETSET_GET || LOCAL_IS_GETSET_BOUND */ - if ((info.ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM | Dee_CLASS_ATTRIBUTE_FREADONLY)) == - /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) + if ((info->ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM | Dee_CLASS_ATTRIBUTE_FREADONLY)) == + /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FGETSET | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) #endif /* 1LOCAL_IS_GETSET_GET && !LOCAL_IS_GETSET_BOUND */ - { - struct class_desc *desc = DeeClass_DESC(self); - uint16_t id = info.ai_value.v_attr->ca_addr; - DREF DeeObject *callback; - Dee_class_desc_lock_read(desc); + { + struct class_desc *desc = DeeClass_DESC(self); + uint16_t id = info->ai_value.v_attr->ca_addr; + DREF DeeObject *callback; + Dee_class_desc_lock_read(desc); #if defined(LOCAL_IS_GETSET_GET) || defined(LOCAL_IS_GETSET_BOUND) - callback = desc->cd_members[id + Dee_CLASS_GETSET_GET]; + callback = desc->cd_members[id + Dee_CLASS_GETSET_GET]; #elif defined(LOCAL_IS_GETSET_DEL) - callback = desc->cd_members[id + Dee_CLASS_GETSET_DEL]; + callback = desc->cd_members[id + Dee_CLASS_GETSET_DEL]; #elif defined(LOCAL_IS_GETSET_SET) - callback = desc->cd_members[id + Dee_CLASS_GETSET_SET]; + callback = desc->cd_members[id + Dee_CLASS_GETSET_SET]; #endif /* ... */ - Dee_XIncref(callback); - Dee_class_desc_lock_endread(desc); - if likely(callback) { - if unlikely(atomic_cmpxch(&sc->LOCAL_tsc_seq_foo_data.d_function, NULL, callback)) - Dee_Decref(callback); - return &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction; - } - } - break; + Dee_XIncref(callback); + Dee_class_desc_lock_endread(desc); + if likely(callback) { + if unlikely(atomic_cmpxch(&sc->LOCAL_tsc_seq_foo_data.d_function, NULL, callback)) + Dee_Decref(callback); + return &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction; + } + } + break; #else /* LOCAL_IS_GETSET */ - case Dee_ATTRINFO_METHOD: - if ((Dee_funptr_t)info.ai_value.v_method->m_func == (Dee_funptr_t)&LOCAL_default_seq_foo) { + case Dee_ATTRINFO_METHOD: + if ((Dee_funptr_t)info->ai_value.v_method->m_func == (Dee_funptr_t)&LOCAL_default_seq_foo) { #ifdef LOCAL_TMH - LOCAL_Dee_mh_seq_foo_t hint; - hint = (LOCAL_Dee_mh_seq_foo_t)DeeType_GetPrivateMethodHint((DeeTypeObject *)info.ai_decl, LOCAL_TMH); - if (hint) - return hint; + LOCAL_Dee_mh_seq_foo_t hint; + hint = (LOCAL_Dee_mh_seq_foo_t)DeeType_GetPrivateMethodHint((DeeTypeObject *)info->ai_decl, LOCAL_TMH); + if (hint) + return hint; #endif /* LOCAL_TMH */ - return &LOCAL_DeeSeq_DefaultFooForEmpty; - } - atomic_write(&sc->LOCAL_tsc_seq_foo_data.d_method, info.ai_value.v_method->m_func); - if (info.ai_value.v_method->m_flag & Dee_TYPE_METHOD_FKWDS) - return &LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethod; - return &LOCAL_DeeSeq_DefaultFooWithCallBarDataMethod; - - case Dee_ATTRINFO_ATTR: - if ((info.ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) == - /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) { - struct class_desc *desc = DeeClass_DESC(self); - uint16_t id = info.ai_value.v_attr->ca_addr; - DREF DeeObject *callback; - Dee_class_desc_lock_read(desc); - callback = desc->cd_members[id]; - Dee_XIncref(callback); - Dee_class_desc_lock_endread(desc); - if likely(callback) { - if unlikely(atomic_cmpxch(&sc->LOCAL_tsc_seq_foo_data.d_function, NULL, callback)) - Dee_Decref(callback); - return &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction; - } - } - break; -#endif /* !LOCAL_IS_GETSET */ + return &LOCAL_DeeSeq_DefaultFooForEmpty; + } + if unlikely(!sc) + break; + atomic_write(&sc->LOCAL_tsc_seq_foo_data.d_method, info->ai_value.v_method->m_func); + if (info->ai_value.v_method->m_flag & Dee_TYPE_METHOD_FKWDS) + return &LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethod; + return &LOCAL_DeeSeq_DefaultFooWithCallBarDataMethod; - default: break; - } + case Dee_ATTRINFO_ATTR: + if unlikely(!sc) + break; + if ((info->ai_value.v_attr->ca_flag & (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) == + /* */ (Dee_CLASS_ATTRIBUTE_FMETHOD | Dee_CLASS_ATTRIBUTE_FREADONLY | Dee_CLASS_ATTRIBUTE_FCLASSMEM)) { + struct class_desc *desc = DeeClass_DESC(self); + uint16_t id = info->ai_value.v_attr->ca_addr; + DREF DeeObject *callback; + Dee_class_desc_lock_read(desc); + callback = desc->cd_members[id]; + Dee_XIncref(callback); + Dee_class_desc_lock_endread(desc); + if likely(callback) { + if unlikely(atomic_cmpxch(&sc->LOCAL_tsc_seq_foo_data.d_function, NULL, callback)) + Dee_Decref(callback); + return &LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction; } - return &LOCAL_DeeSeq_DefaultFooWithCallAttrBar; } + break; +#endif /* !LOCAL_IS_GETSET */ + + default: break; + } +#ifdef LOCAL_EXPLICIT_Attr_foo + if (is_explicit) + return &LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBar; +#endif /* LOCAL_EXPLICIT_Attr_foo */ + return &LOCAL_DeeSeq_DefaultFooWithCallAttrBar; +} + +#endif /* !LOCAL_WITHOUT_ATTRIBUTE */ + + + +/* Mutable sequence functions */ +PRIVATE ATTR_PURE WUNUSED NONNULL((1, 2)) LOCAL_Dee_mh_seq_foo_t DCALL +LOCAL_DeeType_RequireSeqFoo_private_uncached(DeeTypeObject *orig_type, DeeTypeObject *self) { + unsigned int seqclass = DeeType_GetSeqClass(self); +#ifndef LOCAL_WITHOUT_ATTRIBUTE + struct Dee_attrinfo info; +#endif /* !LOCAL_WITHOUT_ATTRIBUTE */ + (void)orig_type; + (void)seqclass; + +#ifndef LOCAL_WITHOUT_ATTRIBUTE +#if defined(LOCAL_HAS_FOR_SEQ_SUFFIX) && defined(LOCAL_EXPLICIT_NAME_STR) +#define LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(info, is_explicit) LOCAL_DeeType_RequireSeqFoo_decodeattr(info, self, seqclass, is_explicit) +#elif defined(LOCAL_HAS_FOR_SEQ_SUFFIX) +#define LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(info, is_explicit) LOCAL_DeeType_RequireSeqFoo_decodeattr(info, self, seqclass) +#elif defined(LOCAL_EXPLICIT_NAME_STR) +#define LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(info, is_explicit) LOCAL_DeeType_RequireSeqFoo_decodeattr(info, self, is_explicit) +#else /* ... */ +#define LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(info, is_explicit) LOCAL_DeeType_RequireSeqFoo_decodeattr(info, self) +#endif /* !... */ + + /* Check if the type *explicitly* defines an alias for this function. */ +#ifdef LOCAL_EXPLICIT_NAME_STR + if (DeeObject_TFindPrivateAttrInfoStringLenHash(self, NULL, + LOCAL_EXPLICIT_NAME_STR, + LOCAL_EXPLICIT_NAME_LENGTHOF, + LOCAL_EXPLICIT_NAME_Dee_HashStr, + &info)) { + /* To prevent implicit matching, a custom "tp_getattr" isn't + * considered a valid target for explicit function links. */ + if (info.ai_type != Dee_ATTRINFO_CUSTOM) + return LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(&info, true); + } +#endif /* LOCAL_EXPLICIT_NAME_STR */ + + /* Check if the type defines an attribute matching the canonical name of this function. */ +#ifdef LOCAL_ATTR_REQUIRED_SEQCLASS + if (seqclass == LOCAL_ATTR_REQUIRED_SEQCLASS) +#else /* LOCAL_ATTR_REQUIRED_SEQCLASS */ + if (seqclass != Dee_SEQCLASS_NONE) +#endif /* !LOCAL_ATTR_REQUIRED_SEQCLASS */ + { + if (DeeObject_TFindPrivateAttrInfoStringLenHash(self, NULL, + LOCAL_CANONICAL_NAME_STR, + LOCAL_CANONICAL_NAME_LENGTHOF, + LOCAL_CANONICAL_NAME_Dee_HashStr, + &info)) + return LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr(&info, false); } +#undef LOCAL_INVOKE_DeeType_RequireSeqFoo_decodeattr #endif /* !LOCAL_WITHOUT_ATTRIBUTE */ #ifdef DEFINE_DeeType_RequireSeqTryGetFirst @@ -2496,6 +2568,7 @@ LOCAL_DeeType_RequireSeqFoo(DeeTypeObject *__restrict self) { #undef LOCAL_Dee_SEQCLASS +#undef LOCAL_EXPLICIT_Attr_foo #undef LOCAL_Attr_foo #undef LOCAL_NO_TMH #undef LOCAL_TMH @@ -2509,19 +2582,23 @@ LOCAL_DeeType_RequireSeqFoo(DeeTypeObject *__restrict self) { #undef LOCAL_tsc_seq_foo_data #undef LOCAL_DeeSeq_Default #undef LOCAL_DeeSeq_RequireFoo +#undef LOCAL_DeeType_RequireSeqFoo_decodeattr #undef LOCAL_DeeType_RequireSeqFoo_private_uncached #undef LOCAL_DeeType_RequireSeqFoo_uncached #undef LOCAL_DeeType_RequireSeqFoo #undef LOCAL_Bar #undef LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSeq +#undef LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSeq #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSeq #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataMethodForSeq #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethodForSeq #undef LOCAL_DeeSeq_DefaultFooWithCallAttrBarForSetOrMap +#undef LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBarForSetOrMap #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataFunctionForSetOrMap #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataMethodForSetOrMap #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethodForSetOrMap #undef LOCAL_DeeSeq_DefaultFooWithCallAttrBar +#undef LOCAL_DeeSeq_DefaultFooWithCallAttrExplicitBar #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataFunction #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataMethod #undef LOCAL_DeeSeq_DefaultFooWithCallBarDataKwMethod @@ -2531,6 +2608,10 @@ LOCAL_DeeType_RequireSeqFoo(DeeTypeObject *__restrict self) { #undef LOCAL_CANONICAL_NAME_str #undef LOCAL_CANONICAL_NAME_STR #undef LOCAL_CANONICAL_NAME_Dee_HashStr +#undef LOCAL_EXPLICIT_NAME_LENGTHOF +#undef LOCAL_EXPLICIT_NAME_str +#undef LOCAL_EXPLICIT_NAME_STR +#undef LOCAL_EXPLICIT_NAME_Dee_HashStr #undef LOCAL_IS_GETSET_GET #undef LOCAL_IS_GETSET_BOUND #undef LOCAL_IS_GETSET_DEL @@ -2538,6 +2619,7 @@ LOCAL_DeeType_RequireSeqFoo(DeeTypeObject *__restrict self) { #undef LOCAL_IS_GETSET #undef LOCAL_HAS_FOR_SEQ_SUFFIX #undef LOCAL_WITHOUT_ATTRIBUTE +#undef LOCAL_WITHOUT_EXPLICIT_ATTRIBUTE #undef LOCAL_ATTR_REQUIRED_SEQCLASS DECL_END diff --git a/src/deemon/objects/seq/default-api.h b/src/deemon/objects/seq/default-api.h index f82670cb..c7cb7590 100644 --- a/src/deemon/objects/seq/default-api.h +++ b/src/deemon/objects/seq/default-api.h @@ -1243,6 +1243,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultTryGetFirstWithF #define DeeSeq_DefaultTryGetFirstWithError DeeSeq_DefaultGetFirstWithError INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithCallAttrGetFirst(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithCallAttrExplicitGetFirst(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithCallGetFirstDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithGetItemIndex(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithGetItem(DeeObject *__restrict self); @@ -1250,6 +1251,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithFore INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetFirstWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithCallAttrGetFirst(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithCallAttrExplicitGetFirst(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithCallGetFirstDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithBoundItemIndex(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithBoundItem(DeeObject *__restrict self); @@ -1257,6 +1259,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithForeach(DeeObj INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundFirstWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithCallAttrDelFirst(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithCallAttrExplicitDelFirst(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithCallDelFirstDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithDelItemIndex(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithDelItem(DeeObject *__restrict self); @@ -1265,6 +1268,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithSeqGetFirstAndMa INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelFirstWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetFirstWithCallAttrSetFirst(DeeObject *self, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetFirstWithCallAttrExplicitSetFirst(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetFirstWithCallSetFirstDataFunction(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetFirstWithSetItemIndex(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetFirstWithSetItem(DeeObject *self, DeeObject *value); @@ -1278,6 +1282,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultTryGetLastWithFo #define DeeSeq_DefaultTryGetLastWithError DeeSeq_DefaultGetLastWithError INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithCallAttrGetLast(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithCallAttrExplicitGetLast(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithCallGetLastDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithSizeAndGetItemIndexFast(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithSizeAndGetItemIndex(DeeObject *__restrict self); @@ -1286,6 +1291,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithForea INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultGetLastWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithCallAttrGetLast(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithCallAttrExplicitGetLast(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithCallGetLastDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithSizeAndBoundItemIndex(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithSizeAndBoundItem(DeeObject *__restrict self); @@ -1293,6 +1299,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithSizeAndBoundIte INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultBoundLastWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithCallAttrDelLast(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithCallAttrExplicitDelLast(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithCallDelLastDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithSizeAndDelItemIndex(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithSizeAndDelItem(DeeObject *__restrict self); @@ -1301,6 +1308,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithSeqGetLastAndMapl INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultDelLastWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithCallAttrSetLast(DeeObject *self, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithCallAttrExplicitSetLast(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithCallSetLastDataFunction(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithSizeAndSetItemIndex(DeeObject *self, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithSizeAndSetItem(DeeObject *self, DeeObject *value); @@ -1308,6 +1316,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultSetLastWithError(DeeObjec /* Implementations for `Sequence.cached' */ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithCallAttrCached(DeeObject *__restrict self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithCallAttrExplicitCached(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithCallCachedDataFunction(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithSeqIter(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithSeqGetItem(DeeObject *__restrict self); @@ -1318,169 +1327,202 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultCachedWithError( /* Functions that need additional variants for sequence sub-types that don't have indices (sets, maps) */ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithCallAttrAny(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithCallAttrExplicitAny(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithCallAnyDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithCallAnyDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithCallAnyDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAttrAnyForSeq(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAttrExplicitAnyForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataFunctionForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataKwMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAttrAnyForSetOrMap(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAttrExplicitAnyForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataFunctionForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithCallAnyDataKwMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAnyWithKeyWithSeqForeach(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithCallAttrAny(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithCallAttrExplicitAny(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithCallAnyDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithCallAnyDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithCallAnyDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAnyWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithCallAttrAny(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithCallAttrExplicitAny(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithCallAnyDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithCallAnyDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithCallAnyDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAnyWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithCallAttrAll(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithCallAttrExplicitAll(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithCallAllDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithCallAllDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithCallAllDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAttrAllForSeq(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAttrExplicitAllForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataFunctionForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataKwMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAttrAllForSetOrMap(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAttrExplicitAllForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataFunctionForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithCallAllDataKwMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAllWithKeyWithSeqForeach(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithCallAttrAll(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithCallAttrExplicitAll(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithCallAllDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithCallAllDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithCallAllDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultAllWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithCallAttrAll(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithCallAttrExplicitAll(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithCallAllDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithCallAllDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithCallAllDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultAllWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithCallAttrParity(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithCallAttrExplicitParity(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithCallParityDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithCallParityDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithCallParityDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithSeqCount(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallAttrParityForSeq(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallAttrExplicitParityForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataFunctionForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataKwMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallAttrParityForSetOrMap(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallAttrExplicitParityForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataFunctionForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithCallParityDataKwMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultParityWithKeyWithSeqForeach(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithCallAttrParity(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithCallAttrExplicitParity(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithCallParityDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithCallParityDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithCallParityDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithSeqCountWithRange(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultParityWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithCallAttrParity(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithCallAttrExplicitParity(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithCallParityDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithCallParityDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithCallParityDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultParityWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithCallAttrReduce(DeeObject *self, DeeObject *combine); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithCallAttrExplicitReduce(DeeObject *self, DeeObject *combine); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithCallReduceDataFunction(DeeObject *self, DeeObject *combine); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithCallReduceDataMethod(DeeObject *self, DeeObject *combine); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithCallReduceDataKwMethod(DeeObject *self, DeeObject *combine); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithSeqForeach(DeeObject *self, DeeObject *combine); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallAttrReduceForSeq(DeeObject *self, DeeObject *combine, DeeObject *init); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallAttrExplicitReduceForSeq(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataFunctionForSeq(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataMethodForSeq(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataKwMethodForSeq(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallAttrReduceForSetOrMap(DeeObject *self, DeeObject *combine, DeeObject *init); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallAttrExplicitReduceForSetOrMap(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataFunctionForSetOrMap(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataMethodForSetOrMap(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithCallReduceDataKwMethodForSetOrMap(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithInitWithSeqForeach(DeeObject *self, DeeObject *combine, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithCallAttrReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithCallAttrExplicitReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithCallReduceDataFunction(DeeObject *self, DeeObject *combine, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithCallReduceDataMethod(DeeObject *self, DeeObject *combine, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithCallReduceDataKwMethod(DeeObject *self, DeeObject *combine, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeWithSeqEnumerateIndex(DeeObject *self, DeeObject *combine, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithCallAttrReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); +INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithCallAttrExplicitReduce(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithCallReduceDataFunction(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithCallReduceDataMethod(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithCallReduceDataKwMethod(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultReduceWithRangeAndInitWithSeqEnumerateIndex(DeeObject *self, DeeObject *combine, size_t start, size_t end, DeeObject *init); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithCallAttrMin(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithCallAttrExplicitMin(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithCallMinDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithCallMinDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithCallMinDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallAttrMinForSeq(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallAttrExplicitMinForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataFunctionForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataKwMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallAttrMinForSetOrMap(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallAttrExplicitMinForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataFunctionForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithCallMinDataKwMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithKeyWithSeqForeach(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithCallAttrMin(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithCallAttrExplicitMin(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithCallMinDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithCallMinDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithCallMinDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithCallAttrMin(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithCallAttrExplicitMin(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithCallMinDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithCallMinDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithCallMinDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMinWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithCallAttrMax(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithCallAttrExplicitMax(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithCallMaxDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithCallMaxDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithCallMaxDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallAttrMaxForSeq(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallAttrExplicitMaxForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataFunctionForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataKwMethodForSeq(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallAttrMaxForSetOrMap(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallAttrExplicitMaxForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataFunctionForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithCallMaxDataKwMethodForSetOrMap(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithKeyWithSeqForeach(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithCallAttrMax(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithCallAttrExplicitMax(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithCallMaxDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithCallMaxDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithCallMaxDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithCallAttrMax(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithCallAttrExplicitMax(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithCallMaxDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithCallMaxDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithCallMaxDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultMaxWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithCallAttrSum(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithCallAttrExplicitSum(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithCallSumDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithCallSumDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithCallSumDataKwMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithSeqForeach(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithCallAttrSum(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithCallAttrExplicitSum(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithCallSumDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithCallSumDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithCallSumDataKwMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSumWithRangeWithSeqEnumerateIndex(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithCallAttrCount(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithCallAttrExplicitCount(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithCallCountDataFunction(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithCallCountDataMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithCallCountDataKwMethod(DeeObject *self, DeeObject *item); @@ -1489,22 +1531,26 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithSeqForeach(De INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithSetContains(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithMapTryGetItem(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallAttrCountForSeq(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallAttrExplicitCountForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataFunctionForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataKwMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallAttrCountForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallAttrExplicitCountForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataFunctionForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithCallCountDataKwMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithSeqFindWithKey(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) size_t DCALL DeeSeq_DefaultCountWithKeyWithSeqForeach(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithCallAttrCount(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithCallAttrExplicitCount(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithCallCountDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithCallCountDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithCallCountDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithSeqFind(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultCountWithRangeWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithCallAttrCount(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithCallAttrExplicitCount(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithCallCountDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithCallCountDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithCallCountDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1512,6 +1558,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKe INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultCountWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithCallAttrContains(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithCallAttrExplicitContains(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithCallContainsDataFunction(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithCallContainsDataMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithCallContainsDataKwMethod(DeeObject *self, DeeObject *item); @@ -1521,22 +1568,26 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithSeqFind(DeeOb INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithForeach(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithMapTryGetItem(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallAttrContainsForSeq(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallAttrExplicitContainsForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataFunctionForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataKwMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallAttrContainsForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallAttrExplicitContainsForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataFunctionForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithCallContainsDataKwMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithSeqFindWithKey(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultContainsWithKeyWithSeqForeach(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithCallAttrContains(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithCallAttrExplicitContains(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithCallContainsDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithCallContainsDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithCallContainsDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithSeqFind(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultContainsWithRangeWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithCallAttrContains(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithCallAttrExplicitContains(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithCallContainsDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithCallContainsDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithCallContainsDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1544,21 +1595,25 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKe INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultContainsWithRangeAndKeyWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallAttrLocateForSeq(DeeObject *self, DeeObject *match, DeeObject *def); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallAttrExplicitLocateForSeq(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataFunctionForSeq(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataMethodForSeq(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataKwMethodForSeq(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallAttrLocateForSetOrMap(DeeObject *self, DeeObject *match, DeeObject *def); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallAttrExplicitLocateForSetOrMap(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataFunctionForSetOrMap(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataMethodForSetOrMap(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithCallLocateDataKwMethodForSetOrMap(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithSeqForeach(DeeObject *self, DeeObject *match, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithCallAttrLocate(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); +INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithCallAttrExplicitLocate(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithCallLocateDataFunction(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithCallLocateDataMethod(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithCallLocateDataKwMethod(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultLocateWithRangeWithSeqEnumerateIndex(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithCallAttrRLocate(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); +INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithCallAttrExplicitRLocate(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithCallRLocateDataFunction(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithCallRLocateDataMethod(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithCallRLocateDataKwMethod(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); @@ -1566,50 +1621,60 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWit INTDEF WUNUSED NONNULL((1, 2, 5)) DREF DeeObject *DCALL DeeSeq_DefaultRLocateWithRangeWithSeqEnumerateIndex(DeeObject *self, DeeObject *match, size_t start, size_t end, DeeObject *def); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithCallAttrStartsWith(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithCallAttrExplicitStartsWith(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithCallStartsWithDataFunction(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithCallStartsWithDataMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithCallStartsWithDataKwMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithSeqTryGetFirst(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallAttrStartsWithForSeq(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallAttrExplicitStartsWithForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataFunctionForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataKwMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallAttrStartsWithForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallAttrExplicitStartsWithForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataFunctionForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithCallStartsWithDataKwMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultStartsWithWithKeyWithSeqTryGetFirst(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithCallAttrStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithCallAttrExplicitStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithCallStartsWithDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithCallStartsWithDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithCallStartsWithDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultStartsWithWithRangeWithSeqTryGetItemIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallAttrStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallAttrExplicitStartsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallStartsWithDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallStartsWithDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithCallStartsWithDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultStartsWithWithRangeAndKeyWithSeqTryGetItemIndex(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithCallAttrEndsWith(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithCallAttrExplicitEndsWith(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithCallEndsWithDataFunction(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithCallEndsWithDataMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithCallEndsWithDataKwMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithSeqTryGetLast(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallAttrEndsWithForSeq(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallAttrExplicitEndsWithForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataFunctionForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataKwMethodForSeq(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallAttrEndsWithForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallAttrExplicitEndsWithForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataFunctionForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithCallEndsWithDataKwMethodForSetOrMap(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeSeq_DefaultEndsWithWithKeyWithSeqTryGetLast(DeeObject *self, DeeObject *item, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithCallAttrEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithCallAttrExplicitEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithCallEndsWithDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithCallEndsWithDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithCallEndsWithDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultEndsWithWithRangeWithSeqSizeAndSeqTryGetItemIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallAttrEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallAttrExplicitEndsWith(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallEndsWithDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallEndsWithDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKeyWithCallEndsWithDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1619,18 +1684,21 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultEndsWithWithRangeAndKe /* Mutable sequence functions */ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithCallAttrFind(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithCallAttrExplicitFind(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithCallFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithCallFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithCallFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultFindWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithCallAttrFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithCallAttrExplicitFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithCallFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithCallFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithCallFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultFindWithKeyWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithCallAttrRFind(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithCallAttrExplicitRFind(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithCallRFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithCallRFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithCallRFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); @@ -1638,6 +1706,7 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithSeqEnumerateI INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRFindWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithCallAttrRFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithCallAttrExplicitRFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithCallRFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithCallRFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithCallRFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1645,6 +1714,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithSeq INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultRFindWithKeyWithSeqEnumerateIndex(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithCallAttrErase(DeeObject *self, size_t index, size_t count); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithCallAttrExplicitErase(DeeObject *self, size_t index, size_t count); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithCallEraseDataFunction(DeeObject *self, size_t index, size_t count); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithCallEraseDataMethod(DeeObject *self, size_t index, size_t count); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithCallEraseDataKwMethod(DeeObject *self, size_t index, size_t count); @@ -1653,6 +1723,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithPop(DeeObject *self INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultEraseWithError(DeeObject *self, size_t index, size_t count); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithCallAttrInsert(DeeObject *self, size_t index, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithCallAttrExplicitInsert(DeeObject *self, size_t index, DeeObject *item); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithCallInsertDataFunction(DeeObject *self, size_t index, DeeObject *item); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithCallInsertDataMethod(DeeObject *self, size_t index, DeeObject *item); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithCallInsertDataKwMethod(DeeObject *self, size_t index, DeeObject *item); @@ -1660,6 +1731,7 @@ INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithSeqInsertAll(De INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertWithError(DeeObject *self, size_t index, DeeObject *item); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithCallAttrInsertAll(DeeObject *self, size_t index, DeeObject *items); +INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithCallAttrExplicitInsertAll(DeeObject *self, size_t index, DeeObject *items); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithCallInsertAllDataFunction(DeeObject *self, size_t index, DeeObject *items); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithCallInsertAllDataMethod(DeeObject *self, size_t index, DeeObject *items); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithCallInsertAllDataKwMethod(DeeObject *self, size_t index, DeeObject *items); @@ -1668,13 +1740,16 @@ INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithSeqInsert(De INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultInsertAllWithError(DeeObject *self, size_t index, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithCallAttrPushFront(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithCallAttrExplicitPushFront(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithCallPushFrontDataFunction(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithCallPushFrontDataMethod(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithCallPushFrontDataKwMethod(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultPushFrontWithSeqInsert(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAttrAppend(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAttrExplicitAppend(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAttrPushBack(DeeObject *self, DeeObject *item); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAttrExplicitPushBack(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAppendDataFunction(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAppendDataMethod(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithCallAppendDataKwMethod(DeeObject *self, DeeObject *item); @@ -1683,6 +1758,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithSizeAndSeqInser INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultAppendWithError(DeeObject *self, DeeObject *item); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithCallAttrExtend(DeeObject *self, DeeObject *items); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithCallAttrExplicitExtend(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithCallExtendDataFunction(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithCallExtendDataMethod(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithCallExtendDataKwMethod(DeeObject *self, DeeObject *items); @@ -1691,6 +1767,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithSizeAndSeqInser INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultExtendWithError(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithCallAttrXchItem(DeeObject *self, size_t index, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithCallAttrExplicitXchItem(DeeObject *self, size_t index, DeeObject *value); INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithCallXchItemDataFunction(DeeObject *self, size_t index, DeeObject *value); INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithCallXchItemDataMethod(DeeObject *self, size_t index, DeeObject *value); INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithCallXchItemDataKwMethod(DeeObject *self, size_t index, DeeObject *value); @@ -1698,6 +1775,7 @@ INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexW INTDEF WUNUSED NONNULL((1, 3)) DREF DeeObject *DCALL DeeSeq_DefaultXchItemIndexWithError(DeeObject *self, size_t index, DeeObject *value); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithCallAttrClear(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithCallAttrExplicitClear(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithCallClearDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithCallClearDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithCallClearDataKwMethod(DeeObject *self); @@ -1709,6 +1787,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithMapRemoveKeys(DeeOb INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultClearWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithCallAttrPop(DeeObject *self, Dee_ssize_t index); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithCallAttrExplicitPop(DeeObject *self, Dee_ssize_t index); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithCallPopDataFunction(DeeObject *self, Dee_ssize_t index); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithCallPopDataMethod(DeeObject *self, Dee_ssize_t index); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithCallPopDataKwMethod(DeeObject *self, Dee_ssize_t index); @@ -1717,6 +1796,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithSizeAndGe INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultPopWithError(DeeObject *self, Dee_ssize_t index); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithCallAttrExplicitRemove(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithCallRemoveDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithCallRemoveDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithCallRemoveDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); @@ -1727,6 +1807,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithSeqEnumerateInd INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRemoveWithError(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithCallAttrRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithCallAttrExplicitRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithCallRemoveDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithCallRemoveDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithCallRemoveDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1737,6 +1818,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithSeqEn INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRemoveWithKeyWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithCallAttrRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithCallAttrExplicitRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithCallRRemoveDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithCallRRemoveDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithCallRRemoveDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); @@ -1746,6 +1828,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithSeqEnumerateIn INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSeq_DefaultRRemoveWithError(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithCallAttrRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithCallAttrExplicitRRemove(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithCallRRemoveDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithCallRRemoveDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithCallRRemoveDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1755,6 +1838,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithSeqE INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultRRemoveWithKeyWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithCallAttrRemoveAll(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithCallAttrExplicitRemoveAll(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithCallRemoveAllDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithCallRemoveAllDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithCallRemoveAllDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); @@ -1764,6 +1848,7 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithSizeAndGe INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveAllWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithCallAttrRemoveAll(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithCallAttrExplicitRemoveAll(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithCallRemoveAllDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithCallRemoveAllDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithCallRemoveAllDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); @@ -1773,6 +1858,7 @@ INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWit INTDEF WUNUSED NONNULL((1, 2, 6)) size_t DCALL DeeSeq_DefaultRemoveAllWithKeyWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t max, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithCallAttrRemoveIf(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithCallAttrExplicitRemoveIf(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithCallRemoveIfDataFunction(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithCallRemoveIfDataMethod(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithCallRemoveIfDataKwMethod(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); @@ -1781,6 +1867,7 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithSizeAndGet INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultRemoveIfWithError(DeeObject *self, DeeObject *should, size_t start, size_t end, size_t max); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithCallAttrResize(DeeObject *self, size_t newsize, DeeObject *filler); +INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithCallAttrExplicitResize(DeeObject *self, size_t newsize, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithCallResizeDataFunction(DeeObject *self, size_t newsize, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithCallResizeDataMethod(DeeObject *self, size_t newsize, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithCallResizeDataKwMethod(DeeObject *self, size_t newsize, DeeObject *filler); @@ -1789,6 +1876,7 @@ INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithSizeAndSetRange INTDEF WUNUSED NONNULL((1, 3)) int DCALL DeeSeq_DefaultResizeWithSizeAndSeqEraseAndSeqExtend(DeeObject *self, size_t newsize, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithCallAttrFill(DeeObject *self, size_t start, size_t end, DeeObject *filler); +INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithCallAttrExplicitFill(DeeObject *self, size_t start, size_t end, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithCallFillDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithCallFillDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *filler); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithCallFillDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *filler); @@ -1797,6 +1885,7 @@ INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithEnumerateIndexAnd INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultFillWithError(DeeObject *self, size_t start, size_t end, DeeObject *filler); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithCallAttrReverse(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithCallAttrExplicitReverse(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithCallReverseDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithCallReverseDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithCallReverseDataKwMethod(DeeObject *self, size_t start, size_t end); @@ -1806,6 +1895,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithSizeAndGetItemInd INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultReverseWithError(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCallAttrReversed(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCallAttrExplicitReversed(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCallReversedDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCallReversedDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCallReversedDataKwMethod(DeeObject *self, size_t start, size_t end); @@ -1815,6 +1905,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithProx INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultReversedWithCopyForeachDefault(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithCallAttrSort(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithCallAttrExplicitSort(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithCallSortDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithCallSortDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithCallSortDataKwMethod(DeeObject *self, size_t start, size_t end); @@ -1823,6 +1914,7 @@ INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithSizeAndGetItemIndexA INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultSortWithError(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithCallAttrSort(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithCallAttrExplicitSort(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithCallSortDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithCallSortDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithCallSortDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); @@ -1831,6 +1923,7 @@ INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithSizeAndGet INTDEF WUNUSED NONNULL((1, 4)) int DCALL DeeSeq_DefaultSortWithKeyWithError(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCallAttrSorted(DeeObject *self, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCallAttrExplicitSorted(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCallSortedDataFunction(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCallSortedDataMethod(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCallSortedDataKwMethod(DeeObject *self, size_t start, size_t end); @@ -1839,6 +1932,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCopySi INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithCopyForeachDefault(DeeObject *self, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCallAttrSorted(DeeObject *self, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCallAttrExplicitSorted(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCallSortedDataFunction(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCallSortedDataMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCallSortedDataKwMethod(DeeObject *self, size_t start, size_t end, DeeObject *key); @@ -1847,6 +1941,7 @@ INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKey INTDEF WUNUSED NONNULL((1, 4)) DREF DeeObject *DCALL DeeSeq_DefaultSortedWithKeyWithCopyForeachDefault(DeeObject *self, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithCallAttrBFind(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithCallAttrExplicitBFind(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithCallBFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithCallBFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithCallBFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); @@ -1855,6 +1950,7 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithSizeAndTryGet INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBFindWithError(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithCallAttrBFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithCallAttrExplicitBFind(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithCallBFindDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithCallBFindDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithCallBFindDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1863,6 +1959,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithSiz INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBFindWithKeyWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithCallAttrBPosition(DeeObject *self, DeeObject *item, size_t start, size_t end); +INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithCallAttrExplicitBPosition(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithCallBPositionDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithCallBPositionDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithCallBPositionDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end); @@ -1871,6 +1968,7 @@ INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithSizeAndTr INTDEF WUNUSED NONNULL((1, 2)) size_t DCALL DeeSeq_DefaultBPositionWithError(DeeObject *self, DeeObject *item, size_t start, size_t end); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithCallAttrBPosition(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithCallAttrExplicitBPosition(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithCallBPositionDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithCallBPositionDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithCallBPositionDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); @@ -1879,6 +1977,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWit INTDEF WUNUSED NONNULL((1, 2, 5)) size_t DCALL DeeSeq_DefaultBPositionWithKeyWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithCallAttrBRange(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); +INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithCallAttrExplicitBRange(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithCallBRangeDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithCallBRangeDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithCallBRangeDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); @@ -1886,6 +1985,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithSizeAndTryGe INTDEF WUNUSED NONNULL((1, 2, 5)) int DCALL DeeSeq_DefaultBRangeWithError(DeeObject *self, DeeObject *item, size_t start, size_t end, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithCallAttrBRange(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2]); +INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithCallAttrExplicitBRange(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithCallBRangeDataFunction(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithCallBRangeDataMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2]); INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithCallBRangeDataKwMethod(DeeObject *self, DeeObject *item, size_t start, size_t end, DeeObject *key, size_t result_range[2]); @@ -1898,6 +1998,7 @@ INTDEF WUNUSED NONNULL((1, 2, 5, 6)) int DCALL DeeSeq_DefaultBRangeWithKeyWithEr /* For `deemon.Set' */ /************************************************************************/ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithCallAttrInsert(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithCallAttrExplicitInsert(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithCallInsertDataFunction(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithCallInsertDataMethod(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithCallInsertDataKwMethod(DeeObject *self, DeeObject *key); @@ -1907,6 +2008,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithSeqSeqContainsA INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertWithError(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithCallAttrExplicitRemove(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithCallRemoveDataFunction(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithCallRemoveDataMethod(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithCallRemoveDataKwMethod(DeeObject *self, DeeObject *key); @@ -1916,6 +2018,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithSeqRemove(DeeOb INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveWithError(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithCallAttrUnify(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithCallAttrExplicitUnify(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithCallUnifyDataFunction(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithCallUnifyDataMethod(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithCallUnifyDataKwMethod(DeeObject *self, DeeObject *key); @@ -1924,6 +2027,7 @@ INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithSeqA INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultUnifyWithError(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithCallAttrInsertAll(DeeObject *self, DeeObject *keys); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithCallAttrExplicitInsertAll(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithCallInsertAllDataFunction(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithCallInsertAllDataMethod(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithCallInsertAllDataKwMethod(DeeObject *self, DeeObject *keys); @@ -1933,6 +2037,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithSetInsert(De INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultInsertAllWithError(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithCallAttrRemoveAll(DeeObject *self, DeeObject *keys); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithCallAttrExplicitRemoveAll(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithCallRemoveAllDataFunction(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithCallRemoveAllDataMethod(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithCallRemoveAllDataKwMethod(DeeObject *self, DeeObject *keys); @@ -1941,6 +2046,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithSetRemove(De INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeSet_DefaultRemoveAllWithError(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithCallAttrPop(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithCallAttrExplicitPop(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithCallPopDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithCallPopDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithCallPopDataKwMethod(DeeObject *self); @@ -1950,6 +2056,7 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithSeqPop(De INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSet_DefaultPopWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaultWithCallAttrPop(DeeObject *self, DeeObject *default_); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaultWithCallAttrExplicitPop(DeeObject *self, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaultWithCallPopDataFunction(DeeObject *self, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaultWithCallPopDataMethod(DeeObject *self, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaultWithCallPopDataKwMethod(DeeObject *self, DeeObject *default_); @@ -1964,6 +2071,7 @@ INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeSet_DefaultPopWithDefaul /* For `deemon.Mapping' */ /************************************************************************/ INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithCallAttrSetOld(DeeObject *self, DeeObject *key, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithCallAttrExplicitSetOld(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithCallSetOldDataFunction(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithCallSetOldDataMethod(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithCallSetOldDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *value); @@ -1974,6 +2082,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithGetItemAndSe INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetOldWithError(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithCallAttrSetOldEx(DeeObject *self, DeeObject *key, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithCallAttrExplicitSetOldEx(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithCallSetOldExDataFunction(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithCallSetOldExDataMethod(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithCallSetOldExDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *value); @@ -1982,6 +2091,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWi INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetOldExWithError(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithCallAttrSetNew(DeeObject *self, DeeObject *key, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithCallAttrExplicitSetNew(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithCallSetNewDataFunction(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithCallSetNewDataMethod(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithCallSetNewDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *value); @@ -1995,6 +2105,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithGetItemAndSe INTDEF WUNUSED NONNULL((1, 2, 3)) int DCALL DeeMap_DefaultSetNewWithError(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithCallAttrSetNewEx(DeeObject *self, DeeObject *key, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithCallAttrExplicitSetNewEx(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithCallSetNewExDataFunction(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithCallSetNewExDataMethod(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithCallSetNewExDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *value); @@ -2005,6 +2116,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWi INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetNewExWithError(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithCallAttrSetDefault(DeeObject *self, DeeObject *key, DeeObject *value); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithCallAttrExplicitSetDefault(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithCallSetDefaultDataFunction(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithCallSetDefaultDataMethod(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithCallSetDefaultDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *value); @@ -2015,6 +2127,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefault INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultSetDefaultWithError(DeeObject *self, DeeObject *key, DeeObject *value); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithCallAttrUpdate(DeeObject *self, DeeObject *items); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithCallAttrExplicitUpdate(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithCallUpdateDataFunction(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithCallUpdateDataMethod(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithCallUpdateDataKwMethod(DeeObject *self, DeeObject *items); @@ -2024,6 +2137,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithSetItem(DeeObje INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultUpdateWithError(DeeObject *self, DeeObject *items); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithCallAttrRemove(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithCallAttrExplicitRemove(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithCallRemoveDataFunction(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithCallRemoveDataMethod(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithCallRemoveDataKwMethod(DeeObject *self, DeeObject *key); @@ -2033,6 +2147,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithSizeAndMapRemov INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveWithError(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithCallAttrRemoveKeys(DeeObject *self, DeeObject *keys); +INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithCallAttrExplicitRemoveKeys(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithCallRemoveKeysDataFunction(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithCallRemoveKeysDataMethod(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithCallRemoveKeysDataKwMethod(DeeObject *self, DeeObject *keys); @@ -2041,6 +2156,7 @@ INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithMapRemove(D INTDEF WUNUSED NONNULL((1, 2)) int DCALL DeeMap_DefaultRemoveKeysWithError(DeeObject *self, DeeObject *keys); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithCallAttrPop(DeeObject *self, DeeObject *key); +INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithCallAttrExplicitPop(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithCallPopDataFunction(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithCallPopDataMethod(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithCallPopDataKwMethod(DeeObject *self, DeeObject *key); @@ -2049,6 +2165,7 @@ INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithGetIte INTDEF WUNUSED NONNULL((1, 2)) DREF DeeObject *DCALL DeeMap_DefaultPopWithError(DeeObject *self, DeeObject *key); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithCallAttrPop(DeeObject *self, DeeObject *key, DeeObject *default_); +INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithCallAttrExplicitPop(DeeObject *self, DeeObject *key, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithCallPopDataFunction(DeeObject *self, DeeObject *key, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithCallPopDataMethod(DeeObject *self, DeeObject *key, DeeObject *default_); INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithCallPopDataKwMethod(DeeObject *self, DeeObject *key, DeeObject *default_); @@ -2057,6 +2174,7 @@ INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDef INTDEF WUNUSED NONNULL((1, 2, 3)) DREF DeeObject *DCALL DeeMap_DefaultPopWithDefaultWithError(DeeObject *self, DeeObject *key, DeeObject *default_); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithCallAttrPopItem(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithCallAttrExplicitPopItem(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithCallPopItemDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithCallPopItemDataMethod(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithCallPopItemDataKwMethod(DeeObject *self); @@ -2065,21 +2183,25 @@ INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithSeqTr INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultPopItemWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultKeysWithCallAttrKeys(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultKeysWithCallAttrExplicitKeys(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultKeysWithCallKeysDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultKeysWithMapIterKeys(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultKeysWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultValuesWithCallAttrValues(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultValuesWithCallAttrExplicitValues(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultValuesWithCallValuesDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultValuesWithMapIterValues(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultValuesWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterKeysWithCallAttrIterKeys(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterKeysWithCallAttrExplicitIterKeys(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterKeysWithCallIterKeysDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterKeysWithMapKeys(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterKeysWithError(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterValuesWithCallAttrIterValues(DeeObject *self); +INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterValuesWithCallAttrExplicitIterValues(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterValuesWithCallIterValuesDataFunction(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterValuesWithMapValues(DeeObject *self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeMap_DefaultIterValuesWithIter(DeeObject *self); diff --git a/src/deemon/runtime/method-hints.c b/src/deemon/runtime/method-hints.c index 8203a668..c589430d 100644 --- a/src/deemon/runtime/method-hints.c +++ b/src/deemon/runtime/method-hints.c @@ -32,6 +32,8 @@ DECL_BEGIN #define Dee_DEFINE_TYPE_METHOD_HINT_ATTR(attr_name, method_name, wrapper_flags, doc, wrapper_params) \ PUBLIC_CONST char const DeeMH_##attr_name##_name[] = method_name; \ PUBLIC_CONST char const DeeMH_##attr_name##_doc[] = doc; +#define Dee_DEFINE_TYPE_METHOD_HINT_ALIAS(new_attr_name, alias_method_name, old_attr_name) \ + PUBLIC_CONST char const DeeMH_##new_attr_name##_name[] = alias_method_name; #include "../../../include/deemon/method-hints.def" diff --git a/src/deemon/runtime/strings.h b/src/deemon/runtime/strings.h index fecae6df..fd71c014 100644 --- a/src/deemon/runtime/strings.h +++ b/src/deemon/runtime/strings.h @@ -179,6 +179,68 @@ local STRINGS = { "rewind", "peek", + "__seq_enumerate__", + "__seq_any__", + "__seq_all__", + "__seq_parity__", + "__seq_reduce__", + "__seq_min__", + "__seq_max__", + "__seq_sum__", + "__seq_count__", + "__seq_contains__", + "__seq_locate__", + "__seq_rlocate__", + "__seq_startswith__", + "__seq_endswith__", + "__seq_find__", + "__seq_rfind__", + "__seq_erase__", + "__seq_insert__", + "__seq_insertall__", + "__seq_pushfront__", + "__seq_append__", + "__seq_extend__", + "__seq_xchitem__", + "__seq_clear__", + "__seq_pop__", + "__seq_remove__", + "__seq_rremove__", + "__seq_removeall__", + "__seq_removeif__", + "__seq_resize__", + "__seq_fill__", + "__seq_reverse__", + "__seq_reversed__", + "__seq_sort__", + "__seq_sorted__", + "__seq_bfind__", + "__seq_bposition__", + "__seq_brange__", + "__seq_first__", + "__seq_last__", + "__seq_cached__", + "__set_insert__", + "__set_remove__", + "__set_unify__", + "__set_insertall__", + "__set_removeall__", + "__set_pop__", + "__map_setold__", + "__map_setold_ex__", + "__map_setnew__", + "__map_setnew_ex__", + "__map_setdefault__", + "__map_update__", + "__map_remove__", + "__map_removekeys__", + "__map_pop__", + "__map_popitem__", + "__map_keys__", + "__map_values__", + "__map_iterkeys__", + "__map_itervalues__", + "format", "__format__", "__name__", @@ -659,6 +721,189 @@ DEF_STRING(str_rewind, "rewind", 0x2ab1b235, 0xa35b8bb3941ca25f) #define Dee_HashStr__peek _Dee_HashSelectC(0xb2ae48a2, 0xcc667a4d924a91f8) DEF_STRING(str_peek, "peek", 0xb2ae48a2, 0xcc667a4d924a91f8) #define STR_peek DeeString_STR(&str_peek) +#define Dee_HashStr____seq_enumerate__ _Dee_HashSelectC(0x2daa9e99, 0xca96f5a312eda247) +DEF_STRING(str___seq_enumerate__, "__seq_enumerate__", 0x2daa9e99, 0xca96f5a312eda247) +#define STR___seq_enumerate__ DeeString_STR(&str___seq_enumerate__) +#define Dee_HashStr____seq_any__ _Dee_HashSelectC(0xdbc18402, 0x809971dbd2fbe45) +DEF_STRING(str___seq_any__, "__seq_any__", 0xdbc18402, 0x809971dbd2fbe45) +#define STR___seq_any__ DeeString_STR(&str___seq_any__) +#define Dee_HashStr____seq_all__ _Dee_HashSelectC(0xd1aed67c, 0xba447c34c699709f) +DEF_STRING(str___seq_all__, "__seq_all__", 0xd1aed67c, 0xba447c34c699709f) +#define STR___seq_all__ DeeString_STR(&str___seq_all__) +#define Dee_HashStr____seq_parity__ _Dee_HashSelectC(0xcda8343, 0x4134274571b0743b) +DEF_STRING(str___seq_parity__, "__seq_parity__", 0xcda8343, 0x4134274571b0743b) +#define STR___seq_parity__ DeeString_STR(&str___seq_parity__) +#define Dee_HashStr____seq_reduce__ _Dee_HashSelectC(0x212ddcd3, 0x2f18d73fc1a6b44a) +DEF_STRING(str___seq_reduce__, "__seq_reduce__", 0x212ddcd3, 0x2f18d73fc1a6b44a) +#define STR___seq_reduce__ DeeString_STR(&str___seq_reduce__) +#define Dee_HashStr____seq_min__ _Dee_HashSelectC(0xaf4e340b, 0x94879a203902a8ca) +DEF_STRING(str___seq_min__, "__seq_min__", 0xaf4e340b, 0x94879a203902a8ca) +#define STR___seq_min__ DeeString_STR(&str___seq_min__) +#define Dee_HashStr____seq_max__ _Dee_HashSelectC(0x670b4224, 0xd6ab9494e5312cec) +DEF_STRING(str___seq_max__, "__seq_max__", 0x670b4224, 0xd6ab9494e5312cec) +#define STR___seq_max__ DeeString_STR(&str___seq_max__) +#define Dee_HashStr____seq_sum__ _Dee_HashSelectC(0x18e84724, 0xacd793c141691611) +DEF_STRING(str___seq_sum__, "__seq_sum__", 0x18e84724, 0xacd793c141691611) +#define STR___seq_sum__ DeeString_STR(&str___seq_sum__) +#define Dee_HashStr____seq_count__ _Dee_HashSelectC(0x71175b03, 0xb54ae2ee1fe7d0c9) +DEF_STRING(str___seq_count__, "__seq_count__", 0x71175b03, 0xb54ae2ee1fe7d0c9) +#define STR___seq_count__ DeeString_STR(&str___seq_count__) +#define Dee_HashStr____seq_contains__ _Dee_HashSelectC(0x9acccdfe, 0x991d55e25b1a82b4) +DEF_STRING(str___seq_contains__, "__seq_contains__", 0x9acccdfe, 0x991d55e25b1a82b4) +#define STR___seq_contains__ DeeString_STR(&str___seq_contains__) +#define Dee_HashStr____seq_locate__ _Dee_HashSelectC(0xb6ab1ac3, 0xe01f18461033d66c) +DEF_STRING(str___seq_locate__, "__seq_locate__", 0xb6ab1ac3, 0xe01f18461033d66c) +#define STR___seq_locate__ DeeString_STR(&str___seq_locate__) +#define Dee_HashStr____seq_rlocate__ _Dee_HashSelectC(0xf40f4306, 0x5e1336153e18b450) +DEF_STRING(str___seq_rlocate__, "__seq_rlocate__", 0xf40f4306, 0x5e1336153e18b450) +#define STR___seq_rlocate__ DeeString_STR(&str___seq_rlocate__) +#define Dee_HashStr____seq_startswith__ _Dee_HashSelectC(0xe2020e14, 0xda8ef94f534073e9) +DEF_STRING(str___seq_startswith__, "__seq_startswith__", 0xe2020e14, 0xda8ef94f534073e9) +#define STR___seq_startswith__ DeeString_STR(&str___seq_startswith__) +#define Dee_HashStr____seq_endswith__ _Dee_HashSelectC(0x7a3367e0, 0x67cfbe5dc4038c84) +DEF_STRING(str___seq_endswith__, "__seq_endswith__", 0x7a3367e0, 0x67cfbe5dc4038c84) +#define STR___seq_endswith__ DeeString_STR(&str___seq_endswith__) +#define Dee_HashStr____seq_find__ _Dee_HashSelectC(0x6efdc0ae, 0x527acacc0183caca) +DEF_STRING(str___seq_find__, "__seq_find__", 0x6efdc0ae, 0x527acacc0183caca) +#define STR___seq_find__ DeeString_STR(&str___seq_find__) +#define Dee_HashStr____seq_rfind__ _Dee_HashSelectC(0x6a572f0c, 0x93860c7078813ca) +DEF_STRING(str___seq_rfind__, "__seq_rfind__", 0x6a572f0c, 0x93860c7078813ca) +#define STR___seq_rfind__ DeeString_STR(&str___seq_rfind__) +#define Dee_HashStr____seq_erase__ _Dee_HashSelectC(0xf418fec, 0xaa4716e6a7c90a6e) +DEF_STRING(str___seq_erase__, "__seq_erase__", 0xf418fec, 0xaa4716e6a7c90a6e) +#define STR___seq_erase__ DeeString_STR(&str___seq_erase__) +#define Dee_HashStr____seq_insert__ _Dee_HashSelectC(0x108c61ac, 0xe94b2ec29ead79d1) +DEF_STRING(str___seq_insert__, "__seq_insert__", 0x108c61ac, 0xe94b2ec29ead79d1) +#define STR___seq_insert__ DeeString_STR(&str___seq_insert__) +#define Dee_HashStr____seq_insertall__ _Dee_HashSelectC(0xae7ace11, 0x8510df225525bacc) +DEF_STRING(str___seq_insertall__, "__seq_insertall__", 0xae7ace11, 0x8510df225525bacc) +#define STR___seq_insertall__ DeeString_STR(&str___seq_insertall__) +#define Dee_HashStr____seq_pushfront__ _Dee_HashSelectC(0xe30e92a5, 0x69ae18cfaba44b5a) +DEF_STRING(str___seq_pushfront__, "__seq_pushfront__", 0xe30e92a5, 0x69ae18cfaba44b5a) +#define STR___seq_pushfront__ DeeString_STR(&str___seq_pushfront__) +#define Dee_HashStr____seq_append__ _Dee_HashSelectC(0x43ea1331, 0x383f299606f81ebe) +DEF_STRING(str___seq_append__, "__seq_append__", 0x43ea1331, 0x383f299606f81ebe) +#define STR___seq_append__ DeeString_STR(&str___seq_append__) +#define Dee_HashStr____seq_extend__ _Dee_HashSelectC(0x9bea054c, 0xe1bd8880fb31a9ee) +DEF_STRING(str___seq_extend__, "__seq_extend__", 0x9bea054c, 0xe1bd8880fb31a9ee) +#define STR___seq_extend__ DeeString_STR(&str___seq_extend__) +#define Dee_HashStr____seq_xchitem__ _Dee_HashSelectC(0x4eea0d1, 0x6238b16fe217a6ed) +DEF_STRING(str___seq_xchitem__, "__seq_xchitem__", 0x4eea0d1, 0x6238b16fe217a6ed) +#define STR___seq_xchitem__ DeeString_STR(&str___seq_xchitem__) +#define Dee_HashStr____seq_clear__ _Dee_HashSelectC(0x9d9e937d, 0xfdca7540ed524b50) +DEF_STRING(str___seq_clear__, "__seq_clear__", 0x9d9e937d, 0xfdca7540ed524b50) +#define STR___seq_clear__ DeeString_STR(&str___seq_clear__) +#define Dee_HashStr____seq_pop__ _Dee_HashSelectC(0xbc856b3, 0x292be45738029ef3) +DEF_STRING(str___seq_pop__, "__seq_pop__", 0xbc856b3, 0x292be45738029ef3) +#define STR___seq_pop__ DeeString_STR(&str___seq_pop__) +#define Dee_HashStr____seq_remove__ _Dee_HashSelectC(0xf3973265, 0xf66c3dc2f794b6f6) +DEF_STRING(str___seq_remove__, "__seq_remove__", 0xf3973265, 0xf66c3dc2f794b6f6) +#define STR___seq_remove__ DeeString_STR(&str___seq_remove__) +#define Dee_HashStr____seq_rremove__ _Dee_HashSelectC(0x45433c7f, 0xb9a93a98d3d74233) +DEF_STRING(str___seq_rremove__, "__seq_rremove__", 0x45433c7f, 0xb9a93a98d3d74233) +#define STR___seq_rremove__ DeeString_STR(&str___seq_rremove__) +#define Dee_HashStr____seq_removeall__ _Dee_HashSelectC(0x8b6a674f, 0xe2b4538c5c43da51) +DEF_STRING(str___seq_removeall__, "__seq_removeall__", 0x8b6a674f, 0xe2b4538c5c43da51) +#define STR___seq_removeall__ DeeString_STR(&str___seq_removeall__) +#define Dee_HashStr____seq_removeif__ _Dee_HashSelectC(0x304fcae9, 0x5c2fb6757251a6dd) +DEF_STRING(str___seq_removeif__, "__seq_removeif__", 0x304fcae9, 0x5c2fb6757251a6dd) +#define STR___seq_removeif__ DeeString_STR(&str___seq_removeif__) +#define Dee_HashStr____seq_resize__ _Dee_HashSelectC(0x3f5efd3b, 0xbb48ab62bf1c52f9) +DEF_STRING(str___seq_resize__, "__seq_resize__", 0x3f5efd3b, 0xbb48ab62bf1c52f9) +#define STR___seq_resize__ DeeString_STR(&str___seq_resize__) +#define Dee_HashStr____seq_fill__ _Dee_HashSelectC(0x804baa4b, 0x8c022361158e60b5) +DEF_STRING(str___seq_fill__, "__seq_fill__", 0x804baa4b, 0x8c022361158e60b5) +#define STR___seq_fill__ DeeString_STR(&str___seq_fill__) +#define Dee_HashStr____seq_reverse__ _Dee_HashSelectC(0x6b430a0f, 0x1b0d1d614c68adb6) +DEF_STRING(str___seq_reverse__, "__seq_reverse__", 0x6b430a0f, 0x1b0d1d614c68adb6) +#define STR___seq_reverse__ DeeString_STR(&str___seq_reverse__) +#define Dee_HashStr____seq_reversed__ _Dee_HashSelectC(0xfc04d16d, 0x86f352c014e6952e) +DEF_STRING(str___seq_reversed__, "__seq_reversed__", 0xfc04d16d, 0x86f352c014e6952e) +#define STR___seq_reversed__ DeeString_STR(&str___seq_reversed__) +#define Dee_HashStr____seq_sort__ _Dee_HashSelectC(0xada4b872, 0xd6269336d74985fa) +DEF_STRING(str___seq_sort__, "__seq_sort__", 0xada4b872, 0xd6269336d74985fa) +#define STR___seq_sort__ DeeString_STR(&str___seq_sort__) +#define Dee_HashStr____seq_sorted__ _Dee_HashSelectC(0x5c289684, 0x5916b598f6f698c3) +DEF_STRING(str___seq_sorted__, "__seq_sorted__", 0x5c289684, 0x5916b598f6f698c3) +#define STR___seq_sorted__ DeeString_STR(&str___seq_sorted__) +#define Dee_HashStr____seq_bfind__ _Dee_HashSelectC(0x14f1087e, 0xf99331ec53fd5237) +DEF_STRING(str___seq_bfind__, "__seq_bfind__", 0x14f1087e, 0xf99331ec53fd5237) +#define STR___seq_bfind__ DeeString_STR(&str___seq_bfind__) +#define Dee_HashStr____seq_bposition__ _Dee_HashSelectC(0x9405a8c, 0x3af79077b899240c) +DEF_STRING(str___seq_bposition__, "__seq_bposition__", 0x9405a8c, 0x3af79077b899240c) +#define STR___seq_bposition__ DeeString_STR(&str___seq_bposition__) +#define Dee_HashStr____seq_brange__ _Dee_HashSelectC(0xdce22547, 0x72bf9e7241379d7) +DEF_STRING(str___seq_brange__, "__seq_brange__", 0xdce22547, 0x72bf9e7241379d7) +#define STR___seq_brange__ DeeString_STR(&str___seq_brange__) +#define Dee_HashStr____seq_first__ _Dee_HashSelectC(0xba07bcf8, 0xf64baada0fea7f04) +DEF_STRING(str___seq_first__, "__seq_first__", 0xba07bcf8, 0xf64baada0fea7f04) +#define STR___seq_first__ DeeString_STR(&str___seq_first__) +#define Dee_HashStr____seq_last__ _Dee_HashSelectC(0x2bf501b7, 0x87a676ceeac240a5) +DEF_STRING(str___seq_last__, "__seq_last__", 0x2bf501b7, 0x87a676ceeac240a5) +#define STR___seq_last__ DeeString_STR(&str___seq_last__) +#define Dee_HashStr____seq_cached__ _Dee_HashSelectC(0x13338d67, 0x497ba149d490b121) +DEF_STRING(str___seq_cached__, "__seq_cached__", 0x13338d67, 0x497ba149d490b121) +#define STR___seq_cached__ DeeString_STR(&str___seq_cached__) +#define Dee_HashStr____set_insert__ _Dee_HashSelectC(0x50fd52f7, 0x3fc463c8885bc57c) +DEF_STRING(str___set_insert__, "__set_insert__", 0x50fd52f7, 0x3fc463c8885bc57c) +#define STR___set_insert__ DeeString_STR(&str___set_insert__) +#define Dee_HashStr____set_remove__ _Dee_HashSelectC(0x7cff2ae1, 0xddd5656e54907429) +DEF_STRING(str___set_remove__, "__set_remove__", 0x7cff2ae1, 0xddd5656e54907429) +#define STR___set_remove__ DeeString_STR(&str___set_remove__) +#define Dee_HashStr____set_unify__ _Dee_HashSelectC(0x72612949, 0xabb8cb45cdbd4ab4) +DEF_STRING(str___set_unify__, "__set_unify__", 0x72612949, 0xabb8cb45cdbd4ab4) +#define STR___set_unify__ DeeString_STR(&str___set_unify__) +#define Dee_HashStr____set_insertall__ _Dee_HashSelectC(0x551cdddf, 0x8b13942a0ba095b4) +DEF_STRING(str___set_insertall__, "__set_insertall__", 0x551cdddf, 0x8b13942a0ba095b4) +#define STR___set_insertall__ DeeString_STR(&str___set_insertall__) +#define Dee_HashStr____set_removeall__ _Dee_HashSelectC(0x427677be, 0x694ed4e8774b5ac6) +DEF_STRING(str___set_removeall__, "__set_removeall__", 0x427677be, 0x694ed4e8774b5ac6) +#define STR___set_removeall__ DeeString_STR(&str___set_removeall__) +#define Dee_HashStr____set_pop__ _Dee_HashSelectC(0xf29d444d, 0x747e5186fe18cdfb) +DEF_STRING(str___set_pop__, "__set_pop__", 0xf29d444d, 0x747e5186fe18cdfb) +#define STR___set_pop__ DeeString_STR(&str___set_pop__) +#define Dee_HashStr____map_setold__ _Dee_HashSelectC(0x98133a06, 0x9f85f07238f15ea8) +DEF_STRING(str___map_setold__, "__map_setold__", 0x98133a06, 0x9f85f07238f15ea8) +#define STR___map_setold__ DeeString_STR(&str___map_setold__) +#define Dee_HashStr____map_setold_ex__ _Dee_HashSelectC(0x2ff74f04, 0x4bf3a474c83f3c6e) +DEF_STRING(str___map_setold_ex__, "__map_setold_ex__", 0x2ff74f04, 0x4bf3a474c83f3c6e) +#define STR___map_setold_ex__ DeeString_STR(&str___map_setold_ex__) +#define Dee_HashStr____map_setnew__ _Dee_HashSelectC(0x3d51899e, 0x7cc7fad3b094d5ff) +DEF_STRING(str___map_setnew__, "__map_setnew__", 0x3d51899e, 0x7cc7fad3b094d5ff) +#define STR___map_setnew__ DeeString_STR(&str___map_setnew__) +#define Dee_HashStr____map_setnew_ex__ _Dee_HashSelectC(0xdf4ed868, 0x57b1501ab5df4980) +DEF_STRING(str___map_setnew_ex__, "__map_setnew_ex__", 0xdf4ed868, 0x57b1501ab5df4980) +#define STR___map_setnew_ex__ DeeString_STR(&str___map_setnew_ex__) +#define Dee_HashStr____map_setdefault__ _Dee_HashSelectC(0xc24f2597, 0xe662ab907613d2e1) +DEF_STRING(str___map_setdefault__, "__map_setdefault__", 0xc24f2597, 0xe662ab907613d2e1) +#define STR___map_setdefault__ DeeString_STR(&str___map_setdefault__) +#define Dee_HashStr____map_update__ _Dee_HashSelectC(0x7999cbe, 0xfeac53cf88774cdb) +DEF_STRING(str___map_update__, "__map_update__", 0x7999cbe, 0xfeac53cf88774cdb) +#define STR___map_update__ DeeString_STR(&str___map_update__) +#define Dee_HashStr____map_remove__ _Dee_HashSelectC(0xaaf1d3a3, 0xa18455f39b93dac2) +DEF_STRING(str___map_remove__, "__map_remove__", 0xaaf1d3a3, 0xa18455f39b93dac2) +#define STR___map_remove__ DeeString_STR(&str___map_remove__) +#define Dee_HashStr____map_removekeys__ _Dee_HashSelectC(0x41b7c204, 0xdbdd6785608b9e21) +DEF_STRING(str___map_removekeys__, "__map_removekeys__", 0x41b7c204, 0xdbdd6785608b9e21) +#define STR___map_removekeys__ DeeString_STR(&str___map_removekeys__) +#define Dee_HashStr____map_pop__ _Dee_HashSelectC(0x280f151f, 0xd722ef001b673063) +DEF_STRING(str___map_pop__, "__map_pop__", 0x280f151f, 0xd722ef001b673063) +#define STR___map_pop__ DeeString_STR(&str___map_pop__) +#define Dee_HashStr____map_popitem__ _Dee_HashSelectC(0x66a1fe6, 0x6456db8617f2ac73) +DEF_STRING(str___map_popitem__, "__map_popitem__", 0x66a1fe6, 0x6456db8617f2ac73) +#define STR___map_popitem__ DeeString_STR(&str___map_popitem__) +#define Dee_HashStr____map_keys__ _Dee_HashSelectC(0x14a40c86, 0xd1bc83542c560ec3) +DEF_STRING(str___map_keys__, "__map_keys__", 0x14a40c86, 0xd1bc83542c560ec3) +#define STR___map_keys__ DeeString_STR(&str___map_keys__) +#define Dee_HashStr____map_values__ _Dee_HashSelectC(0x8afb96e3, 0x6b716639763fd995) +DEF_STRING(str___map_values__, "__map_values__", 0x8afb96e3, 0x6b716639763fd995) +#define STR___map_values__ DeeString_STR(&str___map_values__) +#define Dee_HashStr____map_iterkeys__ _Dee_HashSelectC(0x1447f394, 0xe79c875bc390a418) +DEF_STRING(str___map_iterkeys__, "__map_iterkeys__", 0x1447f394, 0xe79c875bc390a418) +#define STR___map_iterkeys__ DeeString_STR(&str___map_iterkeys__) +#define Dee_HashStr____map_itervalues__ _Dee_HashSelectC(0x225dfc75, 0xe6cfc129bcb6d0af) +DEF_STRING(str___map_itervalues__, "__map_itervalues__", 0x225dfc75, 0xe6cfc129bcb6d0af) +#define STR___map_itervalues__ DeeString_STR(&str___map_itervalues__) #define Dee_HashStr__format _Dee_HashSelectC(0x9ddde74c, 0xc575d5e219281e76) DEF_STRING(str_format, "format", 0x9ddde74c, 0xc575d5e219281e76) #define STR_format DeeString_STR(&str_format) diff --git a/util/test/deemon-dict-ordered.dee b/util/test/deemon-dict-ordered.dee index 5a0a6090..a6c5f35e 100644 --- a/util/test/deemon-dict-ordered.dee +++ b/util/test/deemon-dict-ordered.dee @@ -60,11 +60,11 @@ assert { "first", "third" } == d.keys; assert { 10, 9 } == d.values; assert #d == 2; -//TODO:d.insert(0, ("huh?", "yes")); -//TODO:assert { ("huh?", "yes"), ("first", 10), ("third", 9) } == d; -//TODO:assert { "huh?", "first", "third" } == d.keys; -//TODO:assert { "yes", 10, 9 } == d.values; -//TODO:assert #d == 3; +d.insert(0, ("huh?", "yes")); +assert { ("huh?", "yes"), ("first", 10), ("third", 9) } == d; +assert { "huh?", "first", "third" } == d.keys; +assert { "yes", 10, 9 } == d.values; +assert #d == 3; d.clear();