Logo
Explore Help
Sign In
wash/rosetta
1
0
Fork 0
You've already forked rosetta
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1f2bd09d57a58371bf99552e5df62e4f667c8e3c
rosetta/toolchain/ifc/type.c

21 lines
264 B
C
Raw Normal View History

toolchain: add a program for compiling ipc interface definitions ifc can be used to compile .if files into self-contained header-only C libraries, which can be used to send/receive messages that conform to the described interface.
2026-02-26 19:44:21 +00:00
#include "type.h"
#include <stdio.h>
void type_print(const struct type *ty)
{
switch (ty->ty_id) {
case TYPE_INT:
printf("int");
break;
case TYPE_STRING:
printf("string");
break;
toolchain: ifc: mpc: add support for sending/receiving handles
2026-03-06 20:15:29 +00:00
case TYPE_HANDLE:
printf("handle");
break;
toolchain: add a program for compiling ipc interface definitions ifc can be used to compile .if files into self-contained header-only C libraries, which can be used to send/receive messages that conform to the described interface.
2026-02-26 19:44:21 +00:00
default:
break;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 29ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API