ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

typeof.h
Go to the documentation of this file.
00001 #define typeof(X_) __typeof_ ## X_
00002 
00003 #ifdef _WIN64
00004 #define __typeof_intptr long long
00005 #define __typeof_longptr long long
00006 #else
00007 #define __typeof_intptr int
00008 #define __typeof_longptr long
00009 #endif
00010 
00011 #ifdef __cplusplus
00012 #define __typeof_size size_t
00013 #define __typeof_wchar wchar_t
00014 #else
00015 #define __typeof_size __typeof_intptr
00016 #define __typeof_wchar unsigned short
00017 #endif
00018 
00019 typedef struct jpeg_error_mgr * (__cdecl typeof(jpeg_std_error))(struct jpeg_error_mgr *);
00020 typedef void (__cdecl typeof(jpeg_CreateDecompress))(struct jpeg_decompress_struct *, int, __typeof_size);
00021 typedef int (__cdecl typeof(jpeg_read_header))(struct jpeg_decompress_struct *, int);
00022 typedef int (__cdecl typeof(jpeg_start_decompress))(struct jpeg_decompress_struct *);
00023 typedef unsigned int (__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *, unsigned char **, unsigned int);
00024 typedef int (__cdecl typeof(jpeg_finish_decompress))(struct jpeg_decompress_struct *);
00025 typedef void (__cdecl typeof(jpeg_destroy_decompress))(struct jpeg_decompress_struct *);
00026 typedef unsigned char (__cdecl typeof(jpeg_resync_to_restart))(struct jpeg_decompress_struct *, int);
00027 
00028 typedef void (*png_error_ptr_1)(struct png_struct_def *, const char *);
00029 typedef struct png_struct_def * (__cdecl typeof(png_create_read_struct))(const char *, void*, png_error_ptr_1, png_error_ptr_1);
00030 typedef struct png_info_def* (__cdecl typeof(png_create_info_struct))(struct png_struct_def *);
00031 
00032 // FIXME the following types are not correct, but they help to compile
00033 typedef void* (__cdecl typeof(png_create_write_struct))(void*);
00034 typedef void* (__cdecl typeof(png_destroy_read_struct))(void*, void*, void*);
00035 typedef void* (__cdecl typeof(png_destroy_write_struct))(void*);
00036 typedef void* (__cdecl typeof(png_destroy_write_struct))(void*);
00037 typedef void* (__cdecl typeof(png_error))(void*);
00038 typedef void* (__cdecl typeof(png_get_bit_depth))(void *);
00039 typedef void* (__cdecl typeof(png_get_color_type))(void *);
00040 typedef void* (__cdecl typeof(png_get_error_ptr))(void *);
00041 typedef void* (__cdecl typeof(png_get_image_height))(void *);
00042 typedef void* (__cdecl typeof(png_get_image_width))(void *);
00043 typedef void* (__cdecl typeof(png_get_io_ptr))(void *);
00044 typedef void* (__cdecl typeof(png_get_pHYs))(void *);
00045 typedef void* (__cdecl typeof(png_get_PLTE))(void *);
00046 typedef void* (__cdecl typeof(png_get_tRNS))(void *);
00047 typedef void* (__cdecl typeof(png_set_bgr))(void *);
00048 typedef void* (__cdecl typeof(png_set_error_fn))(void *);
00049 typedef void* (__cdecl typeof(png_set_expand_gray_1_2_4_to_8))(void *);
00050 typedef void* (__cdecl typeof(png_set_filler))(void *);
00051 typedef void* (__cdecl typeof(png_set_gray_to_rgb))(void *);
00052 typedef void* (__cdecl typeof(png_set_IHDR))(void *);
00053 typedef void* (__cdecl typeof(png_set_pHYs))(void *);
00054 typedef void* (__cdecl typeof(png_set_read_fn))(void *);
00055 typedef void* (__cdecl typeof(png_set_strip_16))(void *);
00056 typedef void* (__cdecl typeof(png_set_tRNS_to_alpha))(void *);
00057 typedef void* (__cdecl typeof(png_set_write_fn))(void *);
00058 typedef void* (__cdecl typeof(png_read_end))(void *);
00059 typedef void* (__cdecl typeof(png_read_image))(void *);
00060 typedef void* (__cdecl typeof(png_read_info))(void *);
00061 typedef void* (__cdecl typeof(png_write_end))(void *);
00062 typedef void* (__cdecl typeof(png_write_info))(void *);
00063 typedef void* (__cdecl typeof(png_write_rows))(void *);
00064 
00065 typedef void* (__cdecl typeof(TIFFClientOpen))(void *);
00066 typedef void* (__cdecl typeof(TIFFClose))(void *);
00067 typedef char* (__cdecl typeof(TIFFCurrentDirectory))(void *);
00068 typedef void* (__cdecl typeof(TIFFGetField))(void *);
00069 typedef void* (__cdecl typeof(TIFFReadDirectory))(void *);
00070 typedef void* (__cdecl typeof(TIFFReadEncodedStrip))(void *);
00071 typedef void* (__cdecl typeof(TIFFSetDirectory))(void *);
00072 
00073 #undef __typeof_intptr
00074 #undef __typeof_longptr
00075 #undef __typeof_wchar
00076 #undef __typeof_size
00077 
00078 /* EOF */
00079 

Generated on Sat May 26 2012 04:25:25 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.