📝 docs(annotations): annotated inlined functions across modules
This commit is contained in:
parent
e66baf48bd
commit
ee401857a1
4 changed files with 5 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ namespace myGPack {
|
|||
2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13, 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11,
|
||||
};
|
||||
|
||||
// INLINED
|
||||
void Permute(std::uint8_t* block, const std::uint8_t* table, unsigned count) {
|
||||
std::uint8_t result[8] = {};
|
||||
|
||||
|
|
|
|||
|
|
@ -33,10 +33,12 @@ char g_moduleBaseName[260] = {};
|
|||
char g_crashString[8096] = {};
|
||||
|
||||
namespace {
|
||||
// INLINED
|
||||
int ReadPlayerJob() {
|
||||
return g_session.m_job;
|
||||
}
|
||||
|
||||
// INLINED
|
||||
const char* ReadPlayerJobName(int jobId) {
|
||||
const char* const* namesBegin = g_session.m_jobNamesBegin;
|
||||
const char* const* namesEnd = g_session.m_jobNamesEnd;
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ inline void GraphicsConfiguration::Load(LuaScript& script, ScriptOptions& option
|
|||
}
|
||||
}
|
||||
|
||||
// INLINED
|
||||
inline AdapterConfiguration GraphicsConfiguration::Adapter() const {
|
||||
return {this->backend, this->drawGuid, this->renderGuid, this->deviceGuid, this->deviceName};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ public:
|
|||
|
||||
bool OpenWrite(const char* path, CRenderSystemBase* renderSystem);
|
||||
bool Open(const char* path, int mode, bool resourcePath, bool option);
|
||||
// INLINED
|
||||
bool Open(const char* path) {
|
||||
this->m_path = path;
|
||||
this->m_handle = CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue