BOOTSTRAP (kcodegen) functions


LIBRARY ROUTINE

kgen_generate_libpixmap - * generate routine to initialize pixmaps for libraries

LIBRARY CALL

int 
kgen_generate_libpixmap(
	kobject	 object)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This routine, used only for libraries, generates a file called "pixmaps.c" containing one routine:

void xxx_cache_pixmaps(void)

This routine is used to cache all the pixmaps that are used in the library. Caching of pixmaps is required so that pixmap filenames are compiled into the library archive. Being compiled into the library archive means that pixmaps ill not hinder the creation of standalone applications (you can't have a standalone application depend on a library that needs to open a pixmap file at runtime, as you won't have the pixmap file when you need it if the library wasn't distributed with the application).

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kcodegen/src/clui_libpixmap.c

SEE ALSO

kcodegen(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.