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
+19
View File
@@ -0,0 +1,19 @@
#ifndef ST_EXT_LANG_CPP_H
#define ST_EXT_LANG_CPP_H
#include "abi.h"
/*
* Builtin C++ language module entry point (called by the builtin module
* registry in abi.c).
*
* Registers over the generic ABI:
* - language "cxx" (detect fn + the CXX/CXXFLAGS variables it owns)
* - check kind "header" for language "cxx"
*
* Returns NULL on success. Every compiler-specific string lives in
* lang_cpp.c -- nothing here is known to core.
*/
struct st_error *st_ext_lang_cpp_init(struct st_ext_ctx *ctx);
#endif /* ST_EXT_LANG_CPP_H */