From b63cf98ff2ff110c6c05da5953dae01ddfba3e42 Mon Sep 17 00:00:00 2001 From: GrieferAtWork Date: Thu, 12 Dec 2024 19:16:49 +0100 Subject: [PATCH] Remove incorrect PURE on `DeeTypeType_GetOperatorByIdEx()` --- include/deemon/object.h | 2 +- src/deemon/runtime/operator_info.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deemon/object.h b/include/deemon/object.h index 375152c4c..978a5a559 100644 --- a/include/deemon/object.h +++ b/include/deemon/object.h @@ -4182,7 +4182,7 @@ DeeTypeType_GetOperatorById(DeeTypeObject const *__restrict typetype, Dee_operat * `DeeType_Type', whereas for `FILE_OPERATOR_READ', it would be `DeeFileType_Type' * @param: p_declaring_type_type: [0..1] When non-null, store the declaring type here. * @return: NULL: No such operator (`*p_declaring_type_type' is undefined) */ -DFUNDEF ATTR_PURE WUNUSED ATTR_OUT_OPT(3) NONNULL((1)) struct Dee_opinfo const *DCALL +DFUNDEF WUNUSED ATTR_OUT_OPT(3) NONNULL((1)) struct Dee_opinfo const *DCALL DeeTypeType_GetOperatorByIdEx(DeeTypeObject const *__restrict typetype, Dee_operator_t id, DeeTypeObject **p_declaring_type_type); diff --git a/src/deemon/runtime/operator_info.c b/src/deemon/runtime/operator_info.c index f9764422f..b99f9bf67 100644 --- a/src/deemon/runtime/operator_info.c +++ b/src/deemon/runtime/operator_info.c @@ -138,7 +138,7 @@ DeeTypeType_GetOperatorById(DeeTypeObject const *__restrict typetype, Dee_operat * originates from `DeeType_Type', so in that case, `*p_declaring_type_type' is set to * `DeeType_Type', whereas for `FILE_OPERATOR_READ', it would be `DeeFileType_Type' * @param: p_declaring_type_type: [0..1] When non-null, store the declaring type here. */ -PUBLIC ATTR_PURE WUNUSED ATTR_OUT_OPT(3) NONNULL((1)) struct Dee_opinfo const *DCALL +PUBLIC WUNUSED ATTR_OUT_OPT(3) NONNULL((1)) struct Dee_opinfo const *DCALL DeeTypeType_GetOperatorByIdEx(DeeTypeObject const *__restrict typetype, Dee_operator_t id, DeeTypeObject **p_declaring_type_type) { if (p_declaring_type_type)