Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

win32cfg.h File Reference

#include <stddef.h>

Go to the source code of this file.


Defines

#define PACKAGE   "gifsicle"
#define VERSION   "1.25 (Windows)"
#define RANDOM   rand
#define PATHNAME_SEPARATOR   '\\'
#define popen   _popen
#define pclose   _pclose
#define inline   __inline
#define X_DISPLAY_MISSING   1
#define HAVE_STRERROR   1
#define HAVE_STRTOUL   1
#define xmalloc(s)   fail_die_malloc((s),__FILE__,__LINE__)
#define xrealloc(p, s)   fail_die_realloc((p),(s),__FILE__,__LINE__)
#define xfree   free

Typedefs

typedef unsigned __int16 u_int16_t
typedef unsigned __int32 u_int32_t
typedef signed __int16 int16_t
typedef signed __int32 int32_t

Functions

void * fail_die_malloc (size_t, const char *, int)
void * fail_die_realloc (void *, size_t, const char *, int)

Define Documentation

#define HAVE_STRERROR   1
 

Definition at line 48 of file win32cfg.h.

#define HAVE_STRTOUL   1
 

Definition at line 51 of file win32cfg.h.

#define inline   __inline
 

Definition at line 41 of file win32cfg.h.

#define PACKAGE   "gifsicle"
 

Definition at line 7 of file win32cfg.h.

#define PATHNAME_SEPARATOR   '\\'
 

Definition at line 26 of file win32cfg.h.

#define pclose   _pclose
 

Definition at line 33 of file win32cfg.h.

Referenced by AFNI_misc_CB(), COMPRESS_fclose(), ISQ_save_jpeg(), ISQ_saver_CB(), JPEG_matrix_gray(), main(), mri_read_stuff(), mri_write_angif(), mri_write_jpg(), pipe_color_transformer(), proc_finalize_shm_volumes(), ps_closepl(), qhull_wrap(), RT_acquire_info(), RT_get_3T_info(), SUMA_qhull_wrap(), and THD_write_minc().

#define popen   _popen
 

Definition at line 32 of file win32cfg.h.

Referenced by AFNI_misc_CB(), COMPRESS_fopen_read(), COMPRESS_fopen_write(), ISQ_save_jpeg(), ISQ_saver_CB(), JPEG_matrix_gray(), main(), mri_read_stuff(), mri_write_angif(), mri_write_jpg(), pipe_color_transformer(), proc_finalize_shm_volumes(), ps_openpl(), qhull_wrap(), RT_acquire_info(), RT_get_3T_info(), SUMA_qhull_wrap(), and THD_write_minc().

#define RANDOM   rand
 

Definition at line 14 of file win32cfg.h.

#define VERSION   "1.25 (Windows)"
 

Definition at line 8 of file win32cfg.h.

#define X_DISPLAY_MISSING   1
 

Definition at line 45 of file win32cfg.h.

#define xfree   free
 

Definition at line 70 of file win32cfg.h.

#define xmalloc      fail_die_malloc((s),__FILE__,__LINE__)
 

Definition at line 68 of file win32cfg.h.

#define xrealloc p,
     fail_die_realloc((p),(s),__FILE__,__LINE__)
 

Definition at line 69 of file win32cfg.h.


Typedef Documentation

typedef signed __int16 int16_t
 

Definition at line 22 of file win32cfg.h.

typedef signed __int32 int32_t
 

Definition at line 23 of file win32cfg.h.

typedef unsigned __int16 u_int16_t
 

Definition at line 20 of file win32cfg.h.

Referenced by allocate_colors(), apply_frame(), apply_frame_disposal(), apply_image(), apply_image_disposal(), compare(), copy_data_area(), copy_data_area_subimage(), create_image_data(), create_new_image_data(), create_out_global_map(), create_subimages(), erase_screen(), expand_difference_bounds(), file_block_putter(), fill_area(), fill_data_area(), fill_data_area_subimage(), find_difference_bounds(), get_used_colors(), Gif_FullUncompressImage(), Gif_Unoptimize(), gifputunsigned(), handle_flip_and_screen(), handle_screen(), initialize_optimizer(), load_closest(), main(), memory_block_putter(), one_code(), permuting_sorter_down(), permuting_sorter_up(), put_background_in_screen(), put_image_in_screen(), put_sub_image_colormap(), read_gif(), real_write_image_data(), simple_frame_data(), sort_permutation(), transp_frame_data(), unoptimize_image(), write_compressed_data(), write_image(), write_image_data(), write_logical_screen_descriptor(), and write_netscape_loop_extension().

typedef unsigned __int32 u_int32_t
 

Definition at line 21 of file win32cfg.h.

Referenced by allocate_closest(), colormap_diversity(), colormap_image_floyd_steinberg(), colormap_image_posterize(), colormap_median_cut(), colormap_stream(), erase_screen(), extension_info(), file_block_getter(), Gif_XSubMask(), hash_color(), histogram(), make_data_reader(), put_sub_image_colormap(), read_compressed_image(), read_image_data(), real_write_image_data(), record_block_getter(), safe_puts(), transp_frame_data(), try_assign_transparency(), write_compressed_data(), write_generic_extension(), and write_image().


Function Documentation

void* fail_die_malloc size_t   ,
const char *   ,
int   
 

Definition at line 20 of file fmalloc.c.

References fail_die_malloc_die(), file, malloc, and p.

Referenced by fail_die_realloc().

00021 {
00022   void *p = malloc(size);
00023   if (!p && size)
00024     fail_die_malloc_die(size, file, line);
00025   return p;
00026 }

void* fail_die_realloc void *   ,
size_t   ,
const char *   ,
int   
 

Definition at line 29 of file fmalloc.c.

References fail_die_malloc(), fail_die_malloc_die(), file, p, and realloc.

00030 {
00031   if (!p)
00032     return fail_die_malloc(size, file, line);
00033   p = realloc(p, size);
00034   if (!p && size)
00035     fail_die_malloc_die(size, file, line);
00036   return p;
00037 }
 

Powered by Plone

This site conforms to the following standards: