(slurp_file): New function.
authorGerd Moellmann <gerd@gnu.org>
Thu, 27 Apr 2000 19:11:04 +0000 (19:11 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 27 Apr 2000 19:11:04 +0000 (19:11 +0000)
commit5be6c3b044e2b0b2dd79a41285df932226f59962
tree536f8f31c77edd39a04b1712e03b7b707866a9dc
parent035eec486e617046cffd65a0086db3fec4edb05f
(slurp_file): New function.
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files.  If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file.  Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
src/xfns.c