mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 16:07:52 -05:00
make sure address docs dont accidentally consume description docs
This commit is contained in:
parent
9b1155e352
commit
b64f46b172
1 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ public:
|
||||||
|
|
||||||
char const* function_definition = R"GEN(
|
char const* function_definition = R"GEN(
|
||||||
/**
|
/**
|
||||||
{docs_addresses}{docs} */
|
{docs}{docs_addresses} */
|
||||||
{static}{virtual}{return_type} {function_name}({parameters}){const};
|
{static}{virtual}{return_type} {function_name}({parameters}){const};
|
||||||
)GEN";
|
)GEN";
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ public:
|
||||||
[[deprecated("Function is not implemented - will throw at runtime!!!")]]
|
[[deprecated("Function is not implemented - will throw at runtime!!!")]]
|
||||||
#endif
|
#endif
|
||||||
/**
|
/**
|
||||||
{docs_addresses}{docs} */
|
{docs}{docs_addresses} */
|
||||||
{static}{return_type} {function_name}({parameters}){const}{{
|
{static}{return_type} {function_name}({parameters}){const}{{
|
||||||
throw std::runtime_error("Use of undefined function " + GEODE_PRETTY_FUNCTION);
|
throw std::runtime_error("Use of undefined function " + GEODE_PRETTY_FUNCTION);
|
||||||
}}
|
}}
|
||||||
|
@ -62,7 +62,7 @@ public:
|
||||||
[[deprecated("Use of undefined virtual function - will crash at runtime!!!")]]
|
[[deprecated("Use of undefined virtual function - will crash at runtime!!!")]]
|
||||||
#endif
|
#endif
|
||||||
/**
|
/**
|
||||||
{docs_addresses}{docs} */
|
{docs}{docs_addresses} */
|
||||||
{virtual}{return_type} {function_name}({parameters}){const}{{
|
{virtual}{return_type} {function_name}({parameters}){const}{{
|
||||||
#ifdef GEODE_NO_UNDEFINED_VIRTUALS
|
#ifdef GEODE_NO_UNDEFINED_VIRTUALS
|
||||||
static_assert(false, "Undefined virtual function - implement in GeometryDash.bro");
|
static_assert(false, "Undefined virtual function - implement in GeometryDash.bro");
|
||||||
|
@ -79,7 +79,7 @@ public:
|
||||||
|
|
||||||
char const* structor_definition = R"GEN(
|
char const* structor_definition = R"GEN(
|
||||||
/**
|
/**
|
||||||
{docs_addresses}{docs} */
|
{docs}{docs_addresses} */
|
||||||
{function_name}({parameters});
|
{function_name}({parameters});
|
||||||
)GEN";
|
)GEN";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue