#ifdef __cplusplus
extern "C" {
#endif
return 1;
}
return 1;
}
return 1;
}
return 1;
}
return 1;
}
return 1;
}
#ifdef SH_APPLICATION_TARGET_TYPE_EXECUTABLE
p_engine == NULL,
"main: invalid engine memory",
return -1
);
return 0;
}
#endif
#ifdef __cplusplus
}
#endif
uint8_t() ShApplicationFunc(void *)
Represents the function signature for the application's main function.
Definition shApplicationHost.h:106
int main()
Definition shEditor.c:44
Declares the shEditorMain function for interacting with the engine from the editor.
int shEditorMain(ShEngine *p_engine)
Main function for the editor to interact with the shengine module.
Definition shEditor.c:24
Declares the ShEngine structure and associated functions for managing the engine.
#define shAllocateEngine()
Allocates memory for a new ShEngine instance.
Definition shEngine.h:108
#define shEngineError(condition, msg, failure_expression)
Generates an error message for the shengine module.
Definition shEngine.h:124
Defines the export function attribute for the shengine module.
#define SH_ENGINE_EXPORT_FUNCTION
Specifies the export function attribute for non-Windows platforms.
Definition shExport.h:21
ShApplicationFunc * p_close
Definition shApplicationHost.h:128
ShApplicationFunc * p_update
Definition shApplicationHost.h:124
ShApplicationFunc * p_frame_resize
Definition shApplicationHost.h:127
ShApplicationFunc * p_main_cmd_buffer
Definition shApplicationHost.h:125
ShApplicationFunc * p_start
Definition shApplicationHost.h:123
ShApplicationFunc * p_main_renderpass
Definition shApplicationHost.h:126
Represents the ShEngine structure, which is the main instance of the engine.
Definition shEngine.h:78
ShApplicationHost application_host
Definition shEngine.h:96
ShWindow window
Definition shEngine.h:80
const char * title
Definition shWindow.h:60