os_stdarg.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    os_stdarg.h
00006  *
00007  *  handle variable argument list
00008  *
00009  *  $Id: os_stdarg.h 80826 2008-03-04 14:51:23Z wotte $
00010  *
00011  *  @author Don Hinton <dhinton@dresystems.com>
00012  *  @author This code was originally in various places including ace/OS.h.
00013  */
00014 //=============================================================================
00015 
00016 #ifndef ACE_OS_INCLUDE_OS_STDARG_H
00017 #define ACE_OS_INCLUDE_OS_STDARG_H
00018 
00019 #include /**/ "ace/pre.h"
00020 
00021 #include "ace/config-lite.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif /* ACE_LACKS_PRAGMA_ONCE */
00026 
00027 #if !defined (ACE_LACKS_STDARG_H)
00028 # include /**/ <stdarg.h>
00029 #endif /* !ACE_LACKS_STDARG_H */
00030 
00031 #if !defined (va_copy)
00032 #if defined (__va_copy)
00033 #define va_copy(d, s) __va_copy((d),(s))
00034 #else
00035 #define va_copy(d, s) memcpy((void *)&(d),(void *)&(s),sizeof(va_list))
00036 #endif
00037 #endif
00038 
00039 // Place all additions (especially function declarations) within extern "C" {}
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif /* __cplusplus */
00044 
00045 #ifdef __cplusplus
00046 }
00047 #endif /* __cplusplus */
00048 
00049 #include /**/ "ace/post.h"
00050 #endif /* ACE_OS_INCLUDE_OS_STDARG_H */

Generated on Tue Feb 2 17:18:41 2010 for ACE by  doxygen 1.4.7