Mercurial > emacs
view src/s/ux4800.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 | 566fd2a966aa |
children | 2159bccbf636 |
line wrap: on
line source
/* Definitions file for GNU Emacs running on NEC's UX/4800 (SVR4.2MP) */ #include "usg5-4-2.h" #undef LIB_MOTIF #ifndef nec_ews #define nec_ews #endif #ifndef nec_ews_svr4 #define nec_ews_svr4 #endif #define XOS_NEEDS_TIME_H #define HAVE_CLOCK #define GETTIMEOFDAY_ONE_ARGUMENT #ifdef __STDC__ #define MKDIR_PROTOTYPE int mkdir(char *dpath, mode_t dmode) #endif #ifndef __GNUC__ #define C_DEBUG_SWITCH -O -KOlimit=3000 -ZXNd=5000 #endif