Skip to content

Commit

Permalink
Remove incorrect PURE on DeeTypeType_GetOperatorByIdEx()
Browse files Browse the repository at this point in the history
  • Loading branch information
GrieferAtWork committed Dec 12, 2024
1 parent 4ac9b7a commit b63cf98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/deemon/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/deemon/runtime/operator_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b63cf98

Please sign in to comment.