[PD-cvs] externals/hcs classpath.c,1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Mon Nov 20 05:30:49 CET 2006
Update of /cvsroot/pure-data/externals/hcs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10277
Modified Files:
classpath.c
Log Message:
oops, forgot the /extra part, that's essential.
Index: classpath.c
===================================================================
RCS file: /cvsroot/pure-data/externals/hcs/classpath.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** classpath.c 17 Nov 2006 06:03:15 -0000 1.1
--- classpath.c 20 Nov 2006 04:30:47 -0000 1.2
***************
*** 1,6 ****
/* --------------------------------------------------------------------------*/
/* */
! /* This object outputs the search path for finding objects using a similar */
! /* interface as [textfile] and [qlist] */
/* */
/* Copyright (c) 2006 Hans-Christoph Steiner */
--- 1,6 ----
/* --------------------------------------------------------------------------*/
/* */
! /* This object outputs the global search path for finding objects using a */
! /* similar interface as [textfile] and [qlist]. */
/* */
/* Copyright (c) 2006 Hans-Christoph Steiner */
***************
*** 105,109 ****
classpath_instance_count++;
! x->x_top = namelist_append_files(NULL,sys_libdir->s_name);
x->x_top->nl_next = sys_searchpath;
x->x_current = x->x_top;
--- 105,111 ----
classpath_instance_count++;
! strncpy(buffer, sys_libdir->s_name, MAXPDSTRING);
! strcat(buffer, "/extra");
! x->x_top = namelist_append_files(NULL,buffer);
x->x_top->nl_next = sys_searchpath;
x->x_current = x->x_top;
***************
*** 115,118 ****
--- 117,126 ----
}
+ void classpath_free()
+ {
+ // TODO: look into freeing the namelist
+ }
+
+
void classpath_setup(void)
{
More information about the Pd-cvs
mailing list