pcb 4.1.1
An interactive printed circuit board layout editor.

gts-private.h

Go to the documentation of this file.
00001 /* GTS - Library for the manipulation of triangulated surfaces
00002  * Copyright (C) 1999 Stéphane Popinet
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  */
00019 
00020 #ifndef __GTS_PRIVATE_H__
00021 #define __GTS_PRIVATE_H__
00022 
00023 /* Debugging flags */
00024   
00025 /* #define DEBUG_FUNCTIONS */
00026 
00027 #ifdef DEBUG_FUNCTIONS
00028 /* #define DEBUG_LEAKS */
00029 #define DEBUG_IDENTITY
00030 guint id (gpointer p);
00031 void id_insert (gpointer p);
00032 void id_remove (gpointer p);
00033 void gts_write_triangle (GtsTriangle * t, GtsPoint * o, FILE * fptr);
00034 void gts_write_segment (GtsSegment * s, GtsPoint * o, FILE * fptr);
00035 #endif /* DEBUG_FUNCTIONS */
00036 
00037 #endif /* __GTS_PRIVATE_H__ */