toolchain: replace ifc interface compiler with xpcg

xpcg is used to generate xpc interfaces
This commit is contained in:
2026-03-10 19:12:14 +00:00
parent 3a06c18e10
commit 26a49162e6
24 changed files with 427 additions and 878 deletions

20
toolchain/xpcg/type.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef XPCG_TYPE_H_
#define XPCG_TYPE_H_
enum type_id {
TYPE_NONE,
TYPE_INT,
TYPE_SIZE,
TYPE_STRING,
TYPE_BUFFER,
TYPE_HANDLE,
TYPE_OTHER,
};
struct type {
enum type_id ty_id;
};
extern void type_print(const struct type *ty);
#endif