4coder/custom/4coder_custom.cpp

22 lines
459 B
C++

/*
4coder_custom.cpp
*/
// TOP
extern "C" b32
get_version(i32 maj, i32 min, i32 patch){
fprintf(stderr, "CUS: %d.%d.%d\n", MAJOR, MINOR, PATCH);
return(maj == MAJOR && min == MINOR && patch == PATCH);
}
extern "C" Custom_Layer_Init_Type*
init_apis(API_VTable_custom *custom_vtable, API_VTable_system *system_vtable){
custom_api_read_vtable(custom_vtable);
system_api_read_vtable(system_vtable);
return(custom_layer_init);
}
// BOTTOM