Revision [221]
This is an old revision of imageNameSize made by JohnMcIntosh on 2008-10-17 02:40:44.
sqInt imageNameSize(void)
Parms: NONE
return: size of imageName in bytes
From: Interpreter primitiveImageName
Why:
Need to know size of image name path
Responsibility:
Return bytes needed to store the image path in as a Class String.
MacIntosh
os-9/OSXCarbon
Does strlen on getImageNameWithEncoding results.
Cocoa:
TBD
iPhone
does strlen(getImageName())
Unix
does strlen of imageName
Windows
does strlen of imageName
BUGS
If the image name = MAX_PATH then the result may not be a proper C String and who knows what strlen will return?