Update of /cvsroot/pure-data/externals/grill/py/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12981/source
Modified Files: py.cpp Log Message: ""
Index: py.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/source/py.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** py.cpp 22 Jan 2004 03:38:37 -0000 1.10 --- py.cpp 20 Mar 2004 03:28:45 -0000 1.11 *************** *** 122,125 **** --- 122,138 ---- AddToPath(dir);
+ #if FLEXT_SYS == FLEXT_SYS_PD + // add dir of current patch to path + AddToPath(GetString(canvas_getdir(thisCanvas()))); + // add current dir to path + AddToPath(GetString(canvas_getcurrentdir())); + #elif FLEXT_SYS == FLEXT_SYS_MAX + short path = patcher_myvol(thisCanvas()); + path_topathname(path,NULL,dir); + AddToPath(dir); + #else + #pragma message("Adding current dir to path is not implemented") + #endif + ImportModule(GetString(argv[0])); }