diff options
Diffstat (limited to 'src/engine.c')
-rw-r--r-- | src/engine.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/engine.c b/src/engine.c index 5bb8b7a..0ff1aa1 100644 --- a/src/engine.c +++ b/src/engine.c @@ -143,3 +143,15 @@ rcc_engine_internal rccEngineGetInternal(rcc_engine_context ctx) { return ctx->internal; } + +rcc_language *rccEngineGetLanguage(rcc_engine_context ctx) { + if (!ctx) return NULL; + + return ctx->language; +} + +rcc_context rccEngineGetRccContext(rcc_engine_context ctx) { + if (!ctx) return NULL; + + return ctx->ctx; +} |