idlc 1.5.14
Interface Definition Language Compiler
|
Function pointer types. | |
Function pointers definitions. | |
typedef idl_source_t *(* | idl_import_callback_t) (idl_utf8_t name, idl_uint32_t depth, idl_data_t data) |
Callback to get sources. | |
typedef void(* | idl_release_import_callback_t) (idl_source_t *source, idl_data_t data) |
Callback to release sources. | |
typedef void(* | idl_write_callback_t) (const idl_source_t *source, idl_data_t data) |
Callback to which the compilation result is passed. | |
Opaque Object Types | |
Forward declarations for framework objects using opaque pointer types These macros generate typedefs for pointers to incomplete struct types, providing type safety while hiding implementation details. Each represents a major subsystem in the Idl framework.
| |
typedef struct _idl_compilation_result * | idl_compilation_result_t |
Compilation result. | |
typedef struct _idl_options * | idl_options_t |
Compilation options. | |
typedef struct _idl_compiler * | idl_compiler_t |
Compiler interface. | |
typedef idl_source_t *(* idl_import_callback_t) (idl_utf8_t name, idl_uint32_t depth, idl_data_t data) |
Callback to get sources.
Used to retrieve and compile sources from memory.
[in] | name | The name of the file that the compiler is trying to get (for example, when it encounters "import"). |
[in] | depth | Current imports nesting level. |
[in] | data | User data specified when setting up a callback. |
typedef void(* idl_release_import_callback_t) (idl_source_t *source, idl_data_t data) |
Callback to release sources.
If idl_import_callback_t allocated memory dynamically for the source, you can free it here.
[in] | source | Source for release. |
[in] | data | User data specified when setting up a callback. |
typedef void(* idl_write_callback_t) (const idl_source_t *source, idl_data_t data) |
Callback to which the compilation result is passed.
If you need to save the compilation result to a location other than the file system, such as the network or console output, you can use this callback.
[in] | source | Source of compiler output. |
[in] | data | User data specified when setting up a callback. |