00001 // -*- C++ -*- 00002 // 00003 // $Id: Argv_Type_Converter.inl,v 1.1.1.1 2003/02/21 18:36:32 chad Exp $ 00004 00005 00006 ACE_INLINE ACE_TCHAR** 00007 ACE_Argv_Type_Converter::get_TCHAR_argv (void) 00008 { 00009 #if defined (ACE_USES_WCHAR) 00010 if (this->char_passed_) 00011 { 00012 this->align_wchar_with_char (); 00013 } 00014 00015 this->wchar_passed_ = true; 00016 return this->wchar_argv_; 00017 #else 00018 return this->char_argv_; 00019 #endif // ACE_USES_WCHAR 00020 } 00021 00022 ACE_INLINE char** 00023 ACE_Argv_Type_Converter::get_ASCII_argv (void) 00024 { 00025 #if defined (ACE_USES_WCHAR) 00026 if (this->wchar_passed_) 00027 { 00028 this->align_char_with_wchar (); 00029 } 00030 00031 this->char_passed_ = 1; 00032 #endif // ACE_USES_WCHAR 00033 00034 return this->char_argv_; 00035 } 00036 00037 ACE_INLINE int& 00038 ACE_Argv_Type_Converter::get_argc (void) 00039 { 00040 return this->saved_argc_; 00041 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002