Debian Codegraph @

include/fcml_dialect.h

raw
1 /*
2 * FCML - Free Code Manipulation Library.
3 * Copyright (C) 2010-2020 Slawomir Wojtasiak
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 /** @file fcml_dialect.h
21 * Structures and functions related to dialects.
22 * Functions and structures used for developing new dialects are not exposed
23 * as public API. If you are interested in implementing another dialect
24 * you have to use internal headers.
25 *
26 * @copyright Copyright (C) 2010-2020 Slawomir Wojtasiak. All rights reserved.
27 * This project is released under the GNU Lesser General Public License.
28 */
29
30 #ifndef FCML_DIALECT_H_
31 #define FCML_DIALECT_H_
32
33 #include "fcml_lib_export.h"
34
35 /** Assembler dialect.*/
36 typedef struct fcml_st_dialect fcml_st_dialect;
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 /**
43 * Frees dialect instance.
44 * Frees all resources occupied by the dialect instance.
45 * @param dialect Dialect to be freed.
46 */
47 LIB_EXPORT void LIB_CALL fcml_fn_dialect_free( fcml_st_dialect *dialect );
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53 #endif /* FCML_DIALECT_H_ */