home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / unofficial-plug-ins / mathmap / cgen.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-21  |  1002 b   |  38 lines

  1. /*
  2.  * cgen.h
  3.  *
  4.  * MathMap
  5.  *
  6.  * Copyright (C) 1997-2000 Mark Probst
  7.  *
  8.  * This program is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU General Public License
  10.  * as published by the Free Software Foundation; either version 2
  11.  * of the License, or (at your option) any later version.
  12.  *
  13.  * This program is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License
  19.  * along with this program; if not, write to the Free Software
  20.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23. #ifndef __CGEN_H__
  24. #define __CGEN_H__
  25.  
  26. #include <glib.h>
  27.  
  28. #include "tuples.h"
  29. #include "exprtree.h"
  30.  
  31. typedef tuple_t* (*mathfunc_t) (void);
  32.  
  33. extern mathfunc_t eval_c_code;
  34.  
  35. gboolean gen_and_load_c_code (exprtree *tree);
  36.  
  37. #endif
  38.