Skip to content

Commit

Permalink
Merge remote-tracking branch 'proplib-template/main' into cross-platf…
Browse files Browse the repository at this point in the history
…orm-cli-driver
  • Loading branch information
aromanielloNTIA committed Oct 31, 2024
2 parents e3480db + 36884a0 commit 8332ff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ReturnCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Maps status messages to library return codes
*/

#include "ITS.ITU.PSeries.P2108/ReturnCodes.h"
#include "ITS.ITU.PSeries.P2108/P2108.h"

#ifdef _WIN32
// Ensure strcpy_s is available on Windows
Expand Down Expand Up @@ -67,7 +67,7 @@ std::string GetReturnStatus(const int code) {
* @param[in] code Integer return code.
* @return A status message corresponding to the input code.
******************************************************************************/
char *GetReturnStatusCharArray(const int code) {
EXPORTED char *GetReturnStatusCharArray(const int code) {
const std::string msg = GetReturnStatus(code);
char *c_msg = new char[msg.size() + 1];
#ifdef _WIN32
Expand All @@ -83,7 +83,7 @@ char *GetReturnStatusCharArray(const int code) {
*
* @param[in] c_msg The status message C-style string to delete
******************************************************************************/
void FreeReturnStatusCharArray(char *c_msg) {
EXPORTED void FreeReturnStatusCharArray(char *c_msg) {
delete[] c_msg;
}

Expand Down

0 comments on commit 8332ff5

Please sign in to comment.