diff options
author | Adrian Thurston <thurston@complang.org> | 2010-04-20 23:57:40 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2010-04-20 23:57:40 +0000 |
commit | dfcc82d73539a58dd095578b243e475890ad548f (patch) | |
tree | dfcf9bcf1239ca04dc2a082e1a94b974a1f215a7 /colm/tree.h | |
parent | 7201f124185e925670c36ac9340bf5fbd590cd5a (diff) | |
download | colm-dfcc82d73539a58dd095578b243e475890ad548f.tar.gz |
More C porting.
Diffstat (limited to 'colm/tree.h')
-rw-r--r-- | colm/tree.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/colm/tree.h b/colm/tree.h new file mode 100644 index 00000000..67ac8ce4 --- /dev/null +++ b/colm/tree.h @@ -0,0 +1,36 @@ +/* + * Copyright 2010 Adrian Thurston <thurston@complang.org> + */ + +/* This file is part of Colm. + * + * Colm is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Colm is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _TREE_H +#define _TREE_H + +#if defined(__cplusplus) +extern "C" { +#endif + +void treeDownref( Program *prg, Tree **sp, Tree *tree ); + +#if defined(__cplusplus) +} +#endif + +#endif + |