defaults_vector.c
/* This is just a copy of register_math remade for vectors */
This is just a copy of register_math remade for vectors
This is just a copy of register_math remade for vectors
void register_vector(Context* ctx) {
	unsigned count = ARRSIZE(_vector_names);
	unsigned i;
	for(i = 0; i < count; i++) {
		Builtin* blt = Builtin_new(strdup(_vector_names[i]), _vector_funcs[i], true);
		Builtin_register(blt, ctx);
	}
}
void register_vector ( Context * ctx ) { unsigned count = ARRSIZE ( _vector_names ) ; unsigned i ; for ( i = 0 ; i < count ; i ++ ) { Builtin * blt = Builtin_new ( strdup ( _vector_names [ i ] ) , _vector_funcs [ i ] , true ) ; Builtin_register ( blt , ctx ) ; } }
This is just a copy of register_math remade for vectors
This is just a copy of register_math remade for vectors