feat(ext): add builtin C/C++ language modules

This commit is contained in:
2026-08-28 20:17:58 -04:00
parent 439aa0d856
commit 468aa1c4ef
8 changed files with 1670 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef ST_EXT_LANG_C_H
#define ST_EXT_LANG_C_H
#include "abi.h"
/*
* Builtin C language module entry point (called by the builtin module
* registry in abi.c; a future extension-discovery todo keeps this
* shape for user modules too).
*
* Registers over the generic ABI:
* - language "c" (detect fn + the CC/CFLAGS variables it owns)
* - check kind "header" for language "c"
*
* Returns NULL on success. Every compiler-specific string lives in
* lang_c.c -- nothing here is known to core.
*/
struct st_error *st_ext_lang_c_init(struct st_ext_ctx *ctx);
#endif /* ST_EXT_LANG_C_H */