mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
fix name collision in codegen
This commit is contained in:
parent
fea049cca0
commit
ad26184691
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ Result<tulip::hook::HandlerMetadata> geode::modifier::handlerMetadataForAddress(
|
|||
char const* declare_metadata = R"GEN(
|
||||
{{
|
||||
using FunctionType = {return}(*)({class_name}{const}*{parameter_comma}{parameter_types});
|
||||
ret[address<{index}>()] = +[](){{
|
||||
ret[modifier::address<{index}>()] = +[](){{
|
||||
return tulip::hook::HandlerMetadata{{
|
||||
.m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}),
|
||||
.m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)),
|
||||
|
@ -42,7 +42,7 @@ Result<tulip::hook::HandlerMetadata> geode::modifier::handlerMetadataForAddress(
|
|||
char const* declare_metadata_static = R"GEN(
|
||||
{{
|
||||
using FunctionType = {return}(*)({parameter_types});
|
||||
ret[address<{index}>()] = +[](){{
|
||||
ret[modifier::address<{index}>()] = +[](){{
|
||||
return tulip::hook::HandlerMetadata{{
|
||||
.m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}),
|
||||
.m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)),
|
||||
|
@ -54,7 +54,7 @@ Result<tulip::hook::HandlerMetadata> geode::modifier::handlerMetadataForAddress(
|
|||
char const* declare_metadata_structor = R"GEN(
|
||||
{{
|
||||
using FunctionType = void(*)({class_name}*{parameter_comma}{parameter_types});
|
||||
ret[address<{index}>()] = +[](){{
|
||||
ret[modifier::address<{index}>()] = +[](){{
|
||||
return tulip::hook::HandlerMetadata{{
|
||||
.m_convention = geode::hook::createConvention(tulip::hook::TulipConvention::{convention}),
|
||||
.m_abstract = tulip::hook::AbstractFunction::from(FunctionType(nullptr)),
|
||||
|
|
Loading…
Reference in a new issue