]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
ir_value now checks if a name was specified
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index e044d75163fb318c4f933ecefdeb7b4918b48abf..95fdd57520d50ec724e10cc8969175d5dd454bf7 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -83,7 +83,7 @@ ir_value* ir_value_var(const char *name, int st, int vtype);
  */
 ir_value* ir_value_out(struct ir_function_s *owner, const char *name, int st, int vtype);
 void      ir_value_delete(ir_value*);
-void      ir_value_set_name(ir_value*, const char *name);
+bool      ir_value_set_name(ir_value*, const char *name);
 ir_value* ir_value_vector_member(ir_value*, unsigned int member);
 
 MEM_VECTOR_PROTO_ALL(ir_value, struct ir_instr_s*, reads);