summaryrefslogtreecommitdiffstats
path: root/src/lng.h
blob: f3a7735fb99aa8bdbc8e4191386b1748cc57e72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _RCC_LNG_H
#define _RCC_LNG_H

#include "internal.h"
#include "lngconfig.h"


int rccCheckLanguageUsability(rcc_context ctx, rcc_language_id language_id);
rcc_language_ptr rccGetLanguagePointer(rcc_context ctx, rcc_language_id language_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 */