TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
tml_c.h
Go to the documentation of this file.
1#ifndef TEXTMATELIB_TML_C_H
2#define TEXTMATELIB_TML_C_H
3
4/**
5 * @file tml_c.h
6 * @brief C FFI API header for TextMateLib
7 *
8 * This header provides C bindings for language interoperability and testing.
9 * It includes the complete C API for:
10 * - Core registry and grammar management
11 * - Session API for stateful tokenization
12 * - Theme and styling
13 * - Syntax highlighting
14 *
15 * Note: This header is designed for C code or C++ code that needs C FFI bindings.
16 * For pure C++ usage, include tml.h instead.
17 */
18
19// ============================================================================
20// C API Headers (FFI for language bindings)
21// ============================================================================
22#include "c_api.h" // Core C FFI API for language bindings
23#include "session_c_api.h" // C API for Session
24#include "syntax_highlighter_c_api.h" // C API for SyntaxHighlighter
25
26#endif // TEXTMATELIB_TML_C_H
C language API for TextMateLib.