[VM] pending change to Cross platform sq.h
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Nov 28 04:27:36 UTC 2003
I'm proposing a change to sq.h such that
/* image file and VM path names */
extern char imageName[]
becomes
char *imageName(void);
The VM supplies an image name to the image open logic. This image name
comes from the VM support routines once they decide what it should be
as part of the startup process, or later when you do a save or save as
operation.
Having a function return a pointer to the characters as a result of
calculations that determine issues like character encoding is 'better'
than referring to an MacRoman ASCII byte string. This allows the os-x
version to translate a unicode path name to the desired mapping when
needed, since that mapping
might change under Smalltalk application control.
Yes, there will need to be a change set with this at some point to
alter Interp.c to generate imageName() versus imageName
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|