Add extern "C" to ntcore_c implementation.

This will catch any future parameter type mismatches to the header file.
This commit is contained in:
Peter Johnson
2015-11-10 00:39:46 -08:00
parent 033520d426
commit 27101979fa

View File

@@ -110,6 +110,8 @@ static RpcDefinition ConvertFromC(const NT_RpcDefinition& in) {
return out;
}
extern "C" {
/*
* Table Functions
*/
@@ -748,3 +750,5 @@ NT_String *NT_GetEntryStringArray(const char *name, size_t name_len,
*arr_size = vArr.size();
return arr;
}
} // extern "C"