I Have this C code:
typedef enum { STB_Expression_Max} STB_OKAO_EXPRESSION;
typedef struct {STB_INT32 anScore[STB_Expression_Max];} STB_FRAME_RESULT_EXPRESSION;
How can I convert the above code to array in Delphi?
I Have this C code:
typedef enum { STB_Expression_Max} STB_OKAO_EXPRESSION;
typedef struct {STB_INT32 anScore[STB_Expression_Max];} STB_FRAME_RESULT_EXPRESSION;
How can I convert the above code to array in Delphi?
It could be:
const
STB_Expression_Max = 0;
type
STB_INT32 = ?; { ← define here }
STB_FRAME_RESULT_EXPRESSION = record
anScore: array[0..STB_Expression_Max] of STB_INT32;
end;