Mercurial > emacs
view src/acldef.h @ 56104:a450e67752ed
(Vimage_types): Move from xdisp.c.
(Vimage_type_cache): New variable.
(define_image_type): New argument indicating whether an image library was
loaded; cache loaded status and return t on success, nil otherwise.
(CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros.
(w32_delayed_load): New function to load an image library from a list of
possible filenames.
(init_xpm_functions, init_png_functions, init_jpeg_functions)
(init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
(CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument.
(Finit_image_library): New function, extracted from `init_image'. Try to
initialize an image library on demand and cache whether we were successful
or not.
(syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add
recognized image types to Vimage_types. Export `init-image-library'.
(init_image): Remove initialization of all image types, except xbm and pbm.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 14 Jun 2004 20:47:25 +0000 |
parents | 695cf19ef79e |
children | 9511dc88835c 375f2633d815 |
line wrap: on
line source
#define ACL$K_LENGTH 12 #define ACL$C_LENGTH 12 #define ACL$C_FILE 1 #define ACL$C_DEVICE 2 #define ACL$C_JOBCTL_QUEUE 3 #define ACL$C_COMMON_EF_CLUSTER 4 #define ACL$C_LOGICAL_NAME_TABLE 5 #define ACL$C_PROCESS 6 #define ACL$C_GROUP_GLOBAL_SECTION 7 #define ACL$C_SYSTEM_GLOBAL_SECTION 8 #define ACL$C_ADDACLENT 1 #define ACL$C_DELACLENT 2 #define ACL$C_MODACLENT 3 #define ACL$C_FNDACLENT 4 #define ACL$C_FNDACETYP 5 #define ACL$C_DELETEACL 6 #define ACL$C_READACL 7 #define ACL$C_ACLLENGTH 8 #define ACL$C_READACE 9 #define ACL$C_RLOCK_ACL 10 #define ACL$C_WLOCK_ACL 11 #define ACL$C_UNLOCK_ACL 12 #define ACL$S_ADDACLENT 255 #define ACL$S_DELACLENT 255 #define ACL$S_MODACLENT 255 #define ACL$S_FNDACLENT 255 #define ACL$S_FNDACETYP 255 #define ACL$S_DELETEACL 255 #define ACL$S_READACL 512 #define ACL$S_ACLLENGTH 4 #define ACL$S_READACE 255 #define ACL$S_RLOCK_ACL 4 #define ACL$S_WLOCK_ACL 4 #define ACL$S_UNLOCK_ACL 4 #define ACL$S_ACLDEF 16 #define ACL$L_FLINK 0 #define ACL$L_BLINK 4 #define ACL$W_SIZE 8 #define ACL$B_TYPE 10 #define ACL$L_LIST 12 /* arch-tag: 7c11e99d-34df-41e8-98e2-20f152c4ad73 (do not change this comment) */