mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Mark some new functions as pure
This commit is contained in:
parent
a5ee58cebb
commit
8caf2eb584
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ const char *optype_str (op_type_e type) __attribute__((const));
|
|||
|
||||
operand_t *def_operand (struct def_s *def, struct type_s *type);
|
||||
operand_t *value_operand (struct ex_value_s *value);
|
||||
int tempop_overlap (tempop_t *t1, tempop_t *t2);
|
||||
int tempop_overlap (tempop_t *t1, tempop_t *t2) __attribute__((pure));
|
||||
operand_t *temp_operand (struct type_s *type);
|
||||
int tempop_visit_all (tempop_t *tempop, int overlap,
|
||||
int (*visit) (tempop_t *, void *), void *data);
|
||||
|
|
|
@ -163,7 +163,7 @@ int is_field (const type_t *type) __attribute__((pure));
|
|||
int is_struct (const type_t *type) __attribute__((pure));
|
||||
int is_array (const type_t *type) __attribute__((pure));
|
||||
int is_func (const type_t *type) __attribute__((pure));
|
||||
int type_compatible (const type_t *dst, const type_t *src);
|
||||
int type_compatible (const type_t *dst, const type_t *src) __attribute__((pure));
|
||||
int type_assignable (const type_t *dst, const type_t *src);
|
||||
int type_size (const type_t *type) __attribute__((pure));
|
||||
|
||||
|
|
Loading…
Reference in a new issue