in java/nativeWrappers/src/main/java/com/epam/deltix/dfp/CxxWrappers.java [513:567]
private static String cppTypeToC(String type) {
type = getCppType(type, false);
switch (type) {
case "_Decimal64":
case "decimal64":
case "D64Bits":
case "BID_UINT64":
return "decimal_native_t";
case "int8":
case "Int8":
return "int8_t";
case "uint8":
case "UInt8":
return "uint8_t";
case "int16":
case "Int16":
return "int16_t";
case "uint16":
case "UInt16":
return "uint16_t";
case "int32":
case "Int32":
return "int32_t";
case "uint32":
case "UInt32":
return "uint32_t";
case "int64":
case "Int64":
return "int64_t";
case "uint64":
case "UInt64":
return "uint64_t";
case "float":
case "Float32":
return "float";
case "double":
case "Float64":
return "double";
case "intBool":
return "int";
case "char":
return "char";
case "const char *":
case "const char*":
return "const char *";
case "char *":
case "char*":
return "char *";
case "uint32 *":
case "uint32*":
return "uint32_t *";
default:
throw new RuntimeException("Can't convert C++ type (='" + type + "') to C type.");
}
}