Skip to content

Commit b689053

Browse files
add mutex per interpreter per thread
1 parent dba60ff commit b689053

File tree

2 files changed

+218
-45
lines changed

2 files changed

+218
-45
lines changed

include/CppInterOp/CppInterOp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ CPPINTEROP_API TCppType_t GetIntegerTypeFromEnumScope(TCppScope_t handle);
350350
/// For the given "type", this function gets the integer type that the enum
351351
/// represents, so that you can store it properly in your specific
352352
/// language.
353-
CPPINTEROP_API TCppType_t GetIntegerTypeFromEnumType(TCppType_t handle);
353+
CPPINTEROP_API TCppType_t GetIntegerTypeFromEnumType(TCppType_t enum_type);
354354

355355
/// Gets a list of all the enum constants for an enum.
356356
CPPINTEROP_API std::vector<TCppScope_t> GetEnumConstants(TCppScope_t scope);
@@ -643,7 +643,7 @@ CPPINTEROP_API TCppType_t GetCanonicalType(TCppType_t type);
643643

644644
/// Used to either get the built-in type of the provided string, or
645645
/// use the name to lookup the actual type.
646-
CPPINTEROP_API TCppType_t GetType(const std::string& type);
646+
CPPINTEROP_API TCppType_t GetType(const std::string& name);
647647

648648
///\returns the complex of the provided type.
649649
CPPINTEROP_API TCppType_t GetComplexType(TCppType_t element_type);

0 commit comments

Comments
 (0)