Update code to use stdlib
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef COMP_OPS_H
|
||||
#define COMP_OPS_H
|
||||
|
||||
#include "aliases/aliases.h"
|
||||
#include "aliases.h"
|
||||
#include "nodes.h"
|
||||
|
||||
enum comp_ops {
|
||||
@@ -18,7 +18,7 @@ i32 comp_sub(i32 a, i32 b);
|
||||
i32 comp_mul(i32 a, i32 b);
|
||||
i32 comp_div(i32 a, i32 b);
|
||||
|
||||
INTERNAL node_func ops[COUNT_COMP_OPS] = {
|
||||
internal node_func ops[COUNT_COMP_OPS] = {
|
||||
[COMP_OP_ADD] = comp_add,
|
||||
[COMP_OP_SUB] = comp_sub,
|
||||
[COMP_OP_MUL] = comp_mul,
|
||||
|
||||
Reference in New Issue
Block a user