diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-13 18:38:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-13 18:38:55 +0000 |
commit | c98e3d2b420e2c19e7c99af1a5166e25151c9ee5 (patch) | |
tree | f515c51f04b57599308a2ffd14b50f890f8ec097 | |
parent | 02a21d1b834903518d399de03fac1123a47bcc2e (diff) |
removed stuff taken from headers and put #includes back in
svn path=/trunk/externals/import/; revision=14123
-rw-r--r-- | import.c | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -1,22 +1,8 @@ #include "m_pd.h" +#include "s_stuff.h" +#include "g_canvas.h" #include <string.h> -/* this includes things from g_canvas.h and s_stuff.h so it can build on - * Debian, Ubuntu, etc. Currently, the pd packages only include m_pd.h */ - -/* this is taken from g_canvas.h 0.43test2 */ -#define t_canvasenvironment struct _canvasenvironment -EXTERN t_canvasenvironment *canvas_getenv(t_canvas *x); - -/* this is taken from s_stuff.h 0.43test2 */ -EXTERN int sys_load_lib(t_canvas *canvas, char *filename); -extern t_symbol *sys_libdir; /* library directory for auxilliary files */ -typedef struct _namelist /* element in a linked list of stored strings */ -{ - struct _namelist *nl_next; /* next in list */ - char *nl_string; /* the string */ -} t_namelist; - /* WARNING: KLUDGE! */ /* * this struct is not publically defined (its in g_canvas.c) so I need to @@ -30,7 +16,6 @@ struct _canvasenvironment t_namelist *ce_path; /* search path */ }; - static char *version = "1.3"; t_int import_instance_count; |