summaryrefslogtreecommitdiffstats
path: root/src/lng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lng.h')
-rw-r--r--src/lng.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lng.h b/src/lng.h
index 87a9c91..7602e10 100644
--- a/src/lng.h
+++ b/src/lng.h
@@ -1,10 +1,14 @@
#ifndef _RCC_LNG_H
#define _RCC_LNG_H
+#include "internal.h"
#include "lngconfig.h"
rcc_language_ptr rccGetLanguagePointer(rcc_context ctx, rcc_language_id language_id);
-#define rccGetEnginePointer(ctx, engine_id) rccConfigGetEnginePointer(ctx->current_config, engine_id)
+#define rccGetCurrentEnginePointer(ctx) rccConfigGetCurrentEnginePointer(ctx->current_config)
+#define rccCheckCurrentEnginePointer(ctx) rccConfigCheckCurrentEnginePointer(ctx->current_config)
+#define rccGetEnginePointer(ctx,id) rccConfigGetEnginePointer(ctx->current_config, id)
+#define rccCheckEnginePointer(ctx,id) rccConfigCheckEnginePointer(ctx->current_config, id)
#endif /* _RCC_LNG_H */