Skip to content

Commit

Permalink
Renamed NrtMisc C API
Browse files Browse the repository at this point in the history
  • Loading branch information
bjauny committed Oct 24, 2023
1 parent db72365 commit cd9747e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions include/NovelRT.Interop/Utilities/NrtMisc.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ extern "C"
{
#endif

const char* Nrt_getExecutablePath();
const char* Nrt_getExecutableDirPath();
const char* Nrt_appendFilePath(int32_t numberOfArgs, const char* const* args);
const char* Nrt_appendText(int32_t numberOfArgs, const char* const* args);
const char* Nrt_GetExecutablePath();
const char* Nrt_GetExecutableDirPath();
const char* Nrt_AppendFilePath(int32_t numberOfArgs, const char* const* args);
const char* Nrt_AppendText(int32_t numberOfArgs, const char* const* args);

#ifdef __cplusplus
}
Expand Down
8 changes: 4 additions & 4 deletions src/NovelRT.Interop/Utilities/NrtMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern "C"
{
#endif

const char* Nrt_getExecutablePath()
const char* Nrt_GetExecutablePath()
{
std::string cppPath = std::string(NovelRT::Utilities::Misc::getExecutablePath().string());

Expand All @@ -22,7 +22,7 @@ extern "C"
return returnPtr;
}

const char* Nrt_getExecutableDirPath()
const char* Nrt_GetExecutableDirPath()
{
std::string cppPath = std::string(NovelRT::Utilities::Misc::getExecutableDirPath().string());

Expand All @@ -33,7 +33,7 @@ extern "C"
return returnPtr;
}

const char* Nrt_appendFilePath(int32_t numberOfArgs, const char* const* args)
const char* Nrt_AppendFilePath(int32_t numberOfArgs, const char* const* args)
{
if (numberOfArgs <= 1)
{
Expand Down Expand Up @@ -72,7 +72,7 @@ extern "C"
return finalPath;
}

const char* Nrt_appendText(int32_t numberOfArgs, const char* const* args)
const char* Nrt_AppendText(int32_t numberOfArgs, const char* const* args)
{
if (numberOfArgs <= 1)
{
Expand Down

0 comments on commit cd9747e

Please sign in to comment.