mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add extern "C" to ntcore_c implementation.
This will catch any future parameter type mismatches to the header file.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user