mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 21:42:53 -05:00
Generate proxy exports on demand
This commit is contained in:
14844
src/generated/32/proxy_exports.cpp
Normal file
14844
src/generated/32/proxy_exports.cpp
Normal file
File diff suppressed because it is too large
Load Diff
6
src/generated/32/proxy_exports.hpp
Normal file
6
src/generated/32/proxy_exports.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
// Auto-generated header file
|
||||
#pragma once
|
||||
|
||||
namespace proxy_exports {
|
||||
void init(void* self_lib_handle, void* original_lib_handle);
|
||||
}
|
||||
14454
src/generated/64/proxy_exports.cpp
Normal file
14454
src/generated/64/proxy_exports.cpp
Normal file
File diff suppressed because it is too large
Load Diff
6
src/generated/64/proxy_exports.hpp
Normal file
6
src/generated/64/proxy_exports.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
// Auto-generated header file
|
||||
#pragma once
|
||||
|
||||
namespace proxy_exports {
|
||||
void init(void* self_lib_handle, void* original_lib_handle);
|
||||
}
|
||||
@@ -28,7 +28,11 @@
|
||||
#if defined(KB_WIN)
|
||||
#include "koalabox/win.hpp"
|
||||
#elif defined(KB_LINUX)
|
||||
#include "proxy_exports.hpp"
|
||||
#if defined(KB_32)
|
||||
#include "generated/32/proxy_exports.hpp"
|
||||
#else
|
||||
#include "generated/64/proxy_exports.hpp"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Hooking steam_api has shown itself to be less desirable than steamclient
|
||||
|
||||
Reference in New Issue
Block a user