/* Generated by k2c from runtime/plot_props.kry. */ #ifndef K_RUNTIME_PLOT_PROPS_H #define K_RUNTIME_PLOT_PROPS_H #include #include #ifndef KIR_STRING_VALUE_DEFINED #define KIR_STRING_VALUE_DEFINED #include #include /* Immutable borrowed UTF-8 bytes; length preserves embedded nulls. */ typedef struct String { const char *data; size_t length; } String; static inline String StringView(const char *data, size_t length) { String value = {data, length}; return value; } static inline bool StringEqual(String a, String b) { return a.length == b.length && (a.length == 0 || memcmp(a.data, b.data, a.length) == 0); } #endif #include "kryon_compat.generated.h" typedef struct PlotProps { Rectangle bounds; int32_t class_name; const char* label; const float* values; int32_t value_count; int32_t offset; const char* overlay; float scale_min; float scale_max; int32_t mode; } PlotProps; #endif /* K_RUNTIME_PLOT_PROPS_H */