mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
readd the function param
This commit is contained in:
parent
c9f41c784c
commit
274ff02f9e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace geode::modifier {
|
||||||
* A helper struct that generates a static function that calls the given function.
|
* A helper struct that generates a static function that calls the given function.
|
||||||
*/
|
*/
|
||||||
#define GEODE_AS_STATIC_FUNCTION(FunctionName_) \
|
#define GEODE_AS_STATIC_FUNCTION(FunctionName_) \
|
||||||
template <class Class2> \
|
template <class Class2, auto Function> \
|
||||||
struct AsStaticFunction_##FunctionName_ { \
|
struct AsStaticFunction_##FunctionName_ { \
|
||||||
template <class FunctionType2> \
|
template <class FunctionType2> \
|
||||||
struct Impl {}; \
|
struct Impl {}; \
|
||||||
|
|
Loading…
Reference in a new issue