iSqueak Wikki : imageNameSize

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

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:
See iPhone

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?

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.6332 seconds