1 /*****************************************************************************/
2 /* LibreDWG - free implementation of the DWG file format */
3 /* */
4 /* Copyright (C) 2018-2019 Free Software Foundation, Inc. */
5 /* */
6 /* This library is free software, licensed under the terms of the GNU */
7 /* General Public License as published by the Free Software Foundation, */
8 /* either version 3 of the License, or (at your option) any later version. */
9 /* You should have received a copy of the GNU General Public License */
10 /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
11 /*****************************************************************************/
12
13 /*
14 * free.h: helper functions to free all spec fields
15 * written by Reini Urban
16 *
17 * now empty, all methods are public
18 */
19
20 #ifndef FREE_H
21 #define FREE_H
22
23 #include "dwg.h"
24 #include "bits.h"
25
26 EXPORT void dwg_free_eed (Dwg_Object *obj);
27 /* Needed when we cast types.
28 By fixedtype, not dxfname. */
29 EXPORT void dwg_free_object_private (Dwg_Object *obj);
30
31 int dwg_free_variable_type_private (Dwg_Object *restrict obj);
32 int dwg_free_variable_type (Dwg_Data *restrict dwg, Dwg_Object *restrict obj);
33 int dwg_free_variable_no_class (Dwg_Data *restrict dwg,
34 Dwg_Object *restrict obj);
35
36 #endif