add dedicated stopAll()
should not change abi
This commit is contained in:
@@ -22,6 +22,8 @@ struct Plugin {
|
||||
void* _fn_tick = nullptr;
|
||||
void* _fn_render = nullptr;
|
||||
|
||||
bool _running = false;
|
||||
|
||||
void* loadSymbol(const char* name);
|
||||
|
||||
// loads lib and gets name (and version)
|
||||
@@ -32,12 +34,11 @@ struct Plugin {
|
||||
// unloads the plugin
|
||||
~Plugin(void);
|
||||
|
||||
|
||||
// runs the start function
|
||||
uint32_t start(SolanaAPI* solana_api) const;
|
||||
uint32_t start(SolanaAPI* solana_api);
|
||||
|
||||
// stop function
|
||||
void stop(void) const;
|
||||
void stop(void);
|
||||
|
||||
// update functions
|
||||
float tick(float delta) const;
|
||||
|
||||
Reference in New Issue
Block a user