in java/nativeWrappers/src/main/java/com/epam/deltix/dfp/CsWrappers.java [121:172]
private static String cppTypeToCs(String type) {
type = getCppType(type);
switch (type) {
case "_Decimal64":
case "decimal64":
case "D64Bits":
case "BID_UINT64":
return "UInt64";
case "int8":
case "Int8":
return "SByte";
case "uint8":
case "UInt8":
return "Byte";
case "int16":
case "Int16":
return "Int16";
case "uint16":
case "UInt16":
return "UInt16";
case "int32":
case "Int32":
return "Int32";
case "uint32":
case "UInt32":
return "UInt32";
case "int64":
case "Int64":
return "Int64";
case "uint64":
case "UInt64":
return "UInt64";
case "float":
case "Float32":
return "float";
case "double":
case "Float64":
return "double";
case "intBool":
return "bool";
case "char *":
case "char*":
return "string";
case "char":
return "char";
case "uint32 *":
case "uint32*":
return "out uint";
default:
throw new RuntimeException("Can't convert C++ type (='" + type + "') to Cs type.");
}
}