mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 13:32:51 -05:00
Reworked late hooking
This commit is contained in:
@@ -2,4 +2,13 @@
|
||||
|
||||
#include "smoke_api/types.hpp"
|
||||
|
||||
C_DECL(void*) CreateInterface(const char* interface_version, int* out_result);
|
||||
enum class create_interface_result {
|
||||
Success = 0,
|
||||
Error = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* @param interface_version Example: STEAMAPPS_INTERFACE_VERSION008
|
||||
* @param out_result Pointer to the result enum that will be written to. Can be nullptr.
|
||||
*/
|
||||
C_DECL(void*) CreateInterface(const char* interface_version, create_interface_result* out_result);
|
||||
|
||||
Reference in New Issue
Block a user