Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,20 @@ public static FunctionSignature parseFunctionSignature(String functionName, CXTy
if (cursor != null) {
CXCursor paramCursor = clang_Cursor_getArgument(cursor, i);
String potentialName = clang_getCursorSpelling(paramCursor).getString();
if (!potentialName.isEmpty())
if (!potentialName.isEmpty()) {
name = potentialName;
switch (name) {
Comment thread
Berstanio marked this conversation as resolved.
Outdated
case "env":
name = "_env";
break;
case "clazz":
name = "_clazz";
break;
case "object":
name = "_object";
break;
}
}
}
TypeDefinition argTypeDefinition = registerCXType(argType, name, null);

Expand Down
Loading