4coder/custom/4coder_custom.cpp

22 lines
450 B
C++
Raw Normal View History

2019-10-05 02:48:05 +00:00
/*
4coder_custom.cpp
*/
// TOP
extern "C" b32
get_version(i32 maj, i32 min, i32 patch){
2020-02-20 05:32:07 +00:00
printf("CUS: %d.%d.%d\n", MAJOR, MINOR, PATCH);
2019-10-05 02:48:05 +00:00
return(maj == MAJOR && min == MINOR && patch == PATCH);
}
2019-10-10 22:57:02 +00:00
extern "C" Custom_Layer_Init_Type*
init_apis(API_VTable_custom *custom_vtable, API_VTable_system *system_vtable){
2019-10-05 02:48:05 +00:00
custom_api_read_vtable(custom_vtable);
system_api_read_vtable(system_vtable);
2019-10-10 22:57:02 +00:00
return(custom_layer_init);
2019-10-05 02:48:05 +00:00
}
// BOTTOM