Update of /cvsroot/squeak/squeak/platforms/Cross/vm
In directory sc8-pr-cvs1:/tmp/cvs-serv13769/squeak/platforms/Cross/vm
Modified Files:
sq.h
Log Message:
Added call getImageName as discussed on Squeak-L Nov 29th-Dec 1st/2003 to get image name so you can ensure path to file is encoding using requested encoding type. The VM still can read the value via extern char *imageName[] which relies on the code that writes to imageName to do the proper encoding before changing that memory location. This should not require a change to interp.c. Driving issue was support for UTF-8 in file names.
Index: sq.h
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Cross/vm/sq.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** sq.h 13 Nov 2003 16:18:54 -0000 1.11
--- sq.h 2 Dec 2003 04:47:02 -0000 1.12
***************
*** 337,340 ****
--- 337,341 ----
/* image file and VM path names */
extern char imageName[];
+ char *getImageName(void);
int imageNameGetLength(int sqImageNameIndex, int length);
int imageNamePutLength(int sqImageNameIndex, int length);
|