annotate src/s/386-ix.h @ 28747:6f90293e6ccb
(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.
author |
Gerd Moellmann <gerd@gnu.org> |
date |
Thu, 27 Apr 2000 19:11:04 +0000 |
parents |
191acacfa1ec |
children |
695cf19ef79e |
rev |
line source |
457
|
1 /* Interactive 386/ix. */
|
|
2
|
|
3 #include "usg5-3.h"
|
|
4
|
|
5 #define BROKEN_TIOCGETC
|
|
6
|
|
7 /* There are some reports that the following is needed
|
|
8 with some version of this system.
|
|
9 #undef LIBX11_SYSTEM
|
|
10 #define LIBX11_SYSTEM -linet
|
|
11 */
|
|
12
|
|
13 /* This is said to be needed as a result of having _insque rather
|
|
14 than insque in -loldX. This may not always be the right thing. */
|
|
15 #define WRONG_NAME_INSQUE
|