to console string representation of an object. RUNTIME_USED int32_t Konan_DebugPrint(KRef obj); // Returns 1 if obj refers to an array, string or binary blob and 0 otherwise. RUNTIME_USED int Konan_DebugIsArray(KRef obj); // Returns number of fields in an objects, or elements in an array. RUNTIME_USED int Konan_DebugGetFieldCount(KRef obj); // Compute type of field or an array element at the index, or 0, if incorrect, // see Konan_RuntimeType. RUNTIME_USED int Konan_DebugGetFieldType(KRef obj, int index); // Compute address of field or an array element at the index, or null, if incorrect. RUNTIME_USED void* Konan_DebugGetFieldAddress(KRef obj, int index); // Compute address of field or an array element at the index, or null, if incorrect. RUNTIME_USED const char* Konan_DebugGetFieldName(KRef obj, int index);