pygccxml-commit Mailing List for C++ Python language bindings (Page 29)
Brought to you by:
mbaas,
roman_yakovenko
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(190) |
Apr
(166) |
May
(170) |
Jun
(75) |
Jul
(105) |
Aug
(131) |
Sep
(99) |
Oct
(84) |
Nov
(67) |
Dec
(54) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(66) |
Feb
(49) |
Mar
(25) |
Apr
(62) |
May
(21) |
Jun
(34) |
Jul
(9) |
Aug
(21) |
Sep
(5) |
Oct
|
Nov
(63) |
Dec
(34) |
2008 |
Jan
(10) |
Feb
(42) |
Mar
(26) |
Apr
(25) |
May
(6) |
Jun
(40) |
Jul
(18) |
Aug
(29) |
Sep
(6) |
Oct
(32) |
Nov
(14) |
Dec
(56) |
2009 |
Jan
(127) |
Feb
(52) |
Mar
(2) |
Apr
(10) |
May
(29) |
Jun
(3) |
Jul
|
Aug
(16) |
Sep
(4) |
Oct
(11) |
Nov
(8) |
Dec
(14) |
2010 |
Jan
(31) |
Feb
(1) |
Mar
(7) |
Apr
(9) |
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(8) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <rom...@us...> - 2007-11-20 07:12:20
|
Revision: 1159 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1159&view=rev Author: roman_yakovenko Date: 2007-11-19 23:12:25 -0800 (Mon, 19 Nov 2007) Log Message: ----------- fixing include\exclude bug Modified Paths: -------------- pyplusplus_dev/pyplusplus/decl_wrappers/class_wrapper.py Modified: pyplusplus_dev/pyplusplus/decl_wrappers/class_wrapper.py =================================================================== --- pyplusplus_dev/pyplusplus/decl_wrappers/class_wrapper.py 2007-11-19 21:05:05 UTC (rev 1158) +++ pyplusplus_dev/pyplusplus/decl_wrappers/class_wrapper.py 2007-11-20 07:12:25 UTC (rev 1159) @@ -438,11 +438,11 @@ if base.access == ACCESS_TYPES.PRIVATE: continue base_cls = base.related_class - funcs.update( base_cls.member_functions( query, allow_empty=True ) ) - funcs.update( base_cls.member_operators( relevant_opers & query, allow_empty=True ) ) + funcs.update( base_cls.member_functions( query, recursive=False, allow_empty=True ) ) + funcs.update( base_cls.member_operators( relevant_opers & query, recursive=False, allow_empty=True ) ) - defined_funcs.update( base_cls.member_functions( all_not_pure_virtual, allow_empty=True ) ) - defined_funcs.update( base_cls.member_operators( all_not_pure_virtual & relevant_opers, allow_empty=True ) ) + defined_funcs.update( base_cls.member_functions( all_not_pure_virtual, recursive=False, allow_empty=True ) ) + defined_funcs.update( base_cls.member_operators( all_not_pure_virtual & relevant_opers, recursive=False, allow_empty=True ) ) not_reimplemented_funcs = set() is_same_function = declarations.is_same_function This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-19 21:05:04
|
Revision: 1158 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1158&view=rev Author: roman_yakovenko Date: 2007-11-19 13:05:05 -0800 (Mon, 19 Nov 2007) Log Message: ----------- adding new test case for reported bug Modified Paths: -------------- pyplusplus_dev/unittests/test_all.py Added Paths: ----------- pyplusplus_dev/unittests/data/include_exclude_bug_to_be_exported.hpp pyplusplus_dev/unittests/include_exclude_bug_tester.py Property Changed: ---------------- pyplusplus_dev/unittests/data/ Property changes on: pyplusplus_dev/unittests/data ___________________________________________________________________ Name: svn:ignore - *.obj call_policies_to_be_exported.os + *.obj call_policies_to_be_exported.os global_variables_to_be_exported.os member_functions_to_be_exported.os Added: pyplusplus_dev/unittests/data/include_exclude_bug_to_be_exported.hpp =================================================================== --- pyplusplus_dev/unittests/data/include_exclude_bug_to_be_exported.hpp (rev 0) +++ pyplusplus_dev/unittests/data/include_exclude_bug_to_be_exported.hpp 2007-11-19 21:05:05 UTC (rev 1158) @@ -0,0 +1,398 @@ +// Copyright 2004-2007 Roman Yakovenko. +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +//This file is base on OgreAny.h file, just slightly modified to remove dependencies. + +/* +----------------------------------------------------------------------------- +This source file is part of OGRE + (Object-oriented Graphics Rendering Engine) +For the latest info, see http://www.ogre3d.org/ + +Copyright (c) 2000-2006 Torus Knot Software Ltd +Also see acknowledgements in Readme.html + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU Lesser General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) Any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +Any WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place - Suite 330, Boston, MA 02111-1307, USA, or go to +http://www.gnu.org/copyleft/lesser.txt. + +You may alternatively use this source under the terms of a specific version of +the OGRE Unrestricted License provided you have obtained such a license from +Torus Knot Software Ltd. +----------------------------------------------------------------------------- +*/ +// -- Based on boost::any, original copyright information follows -- +// Copyright Kevlin Henney, 2000, 2001, 2002. All rights reserved. +// +// Distributed under the Boost Software License, Version 1.0. (See +// accompAnying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +// -- End original copyright -- + +#ifndef __OGRE_ANY_H__ +#define __OGRE_ANY_H__ + +#include <string> +#include <algorithm> +#include <stdexcept> +#include <typeinfo> + + +namespace Ogre +{ + /** Variant type that can hold Any other type. + */ + class Any + { + public: // constructors + + Any() + : mContent(0) + { + } + + template<typename ValueType> + explicit Any(const ValueType & value) + : mContent(new holder<ValueType>(value)) + { + } + + Any(const Any & other) + : mContent(other.mContent ? other.mContent->clone() : 0) + { + } + + virtual ~Any() + { + delete mContent; + } + + public: // modifiers + + Any& swap(Any & rhs) + { + std::swap(mContent, rhs.mContent); + return *this; + } + + template<typename ValueType> + Any& operator=(const ValueType & rhs) + { + Any(rhs).swap(*this); + return *this; + } + + Any & operator=(const Any & rhs) + { + Any(rhs).swap(*this); + return *this; + } + + public: // queries + + bool isEmpty() const + { + return !mContent; + } + + const std::type_info& getType() const + { + return mContent ? mContent->getType() : typeid(void); + } + + inline friend std::ostream& operator << + ( std::ostream& o, const Any& v ) + { + if (v.mContent) + v.mContent->writeToStream(o); + return o; + } + + + protected: // types + + class placeholder + { + public: // structors + + virtual ~placeholder() + { + } + + public: // queries + + virtual const std::type_info& getType() const = 0; + + virtual placeholder * clone() const = 0; + + virtual void writeToStream(std::ostream& o) = 0; + + }; + + template<typename ValueType> + class holder : public placeholder + { + public: // structors + + holder(const ValueType & value) + : held(value) + { + } + + public: // queries + + virtual const std::type_info & getType() const + { + return typeid(ValueType); + } + + virtual placeholder * clone() const + { + return new holder(held); + } + + virtual void writeToStream(std::ostream& o) + { + o << held; + } + + + public: // representation + + ValueType held; + + }; + + + + protected: // representation + placeholder * mContent; + + template<typename ValueType> + friend ValueType * any_cast(Any *); + + + public: + + template<typename ValueType> + ValueType operator()() const + { + if (!mContent) + { + throw std::runtime_error( "Bad cast from uninitialised Any" ); + } + else if(getType() == typeid(ValueType)) + { + return static_cast<Any::holder<ValueType> *>(mContent)->held; + } + else + { + throw std::runtime_error( "Bad cast from specific type" ); + } + } + + + + }; + + + /** Specialised Any class which has built in arithmetic operators, but can + hold only types which support operator +,-,* and / . + */ + class AnyNumeric : public Any + { + public: + AnyNumeric() + : Any() + { + } + + template<typename ValueType> + AnyNumeric(const ValueType & value) + + { + mContent = new numholder<ValueType>(value); + } + + AnyNumeric(const AnyNumeric & other) + : Any() + { + mContent = other.mContent ? other.mContent->clone() : 0; + } + protected: + class numplaceholder : public Any::placeholder + { + public: // structors + + ~numplaceholder() + { + } + virtual Any::placeholder* add(Any::placeholder* rhs) = 0; + virtual Any::placeholder* subtract(Any::placeholder* rhs) = 0; + virtual Any::placeholder* multiply(Any::placeholder* rhs) = 0; + virtual Any::placeholder* multiply(double factor) = 0; + virtual Any::placeholder* divide(Any::placeholder* rhs) = 0; + }; + + template<typename ValueType> + class numholder : public numplaceholder + { + public: // structors + + numholder(const ValueType & value) + : held(value) + { + } + + public: // queries + + virtual const std::type_info & getType() const + { + return typeid(ValueType); + } + + virtual placeholder * clone() const + { + return new numholder(held); + } + + virtual placeholder* add(placeholder* rhs) + { + return new numholder(held + static_cast<numholder*>(rhs)->held); + } + virtual placeholder* subtract(placeholder* rhs) + { + return new numholder(held - static_cast<numholder*>(rhs)->held); + } + virtual placeholder* multiply(placeholder* rhs) + { + return new numholder(held * static_cast<numholder*>(rhs)->held); + } + virtual placeholder* multiply(double factor) + { + return new numholder(held * factor); + } + virtual placeholder* divide(placeholder* rhs) + { + return new numholder(held / static_cast<numholder*>(rhs)->held); + } + virtual void writeToStream(std::ostream& o) + { + o << held; + } + + public: // representation + + ValueType held; + + }; + + /// Construct from holder + AnyNumeric(placeholder* pholder) + { + mContent = pholder; + } + + public: + AnyNumeric & operator=(const AnyNumeric & rhs) + { + AnyNumeric(rhs).swap(*this); + return *this; + } + AnyNumeric operator+(const AnyNumeric& rhs) const + { + return AnyNumeric( + static_cast<numplaceholder*>(mContent)->add(rhs.mContent)); + } + AnyNumeric operator-(const AnyNumeric& rhs) const + { + return AnyNumeric( + static_cast<numplaceholder*>(mContent)->subtract(rhs.mContent)); + } + AnyNumeric operator*(const AnyNumeric& rhs) const + { + return AnyNumeric( + static_cast<numplaceholder*>(mContent)->multiply(rhs.mContent)); + } + AnyNumeric operator*(double factor) const + { + return AnyNumeric( + static_cast<numplaceholder*>(mContent)->multiply(factor)); + } + AnyNumeric operator/(const AnyNumeric& rhs) const + { + return AnyNumeric( + static_cast<numplaceholder*>(mContent)->divide(rhs.mContent)); + } + AnyNumeric& operator+=(const AnyNumeric& rhs) + { + *this = AnyNumeric( + static_cast<numplaceholder*>(mContent)->add(rhs.mContent)); + return *this; + } + AnyNumeric& operator-=(const AnyNumeric& rhs) + { + *this = AnyNumeric( + static_cast<numplaceholder*>(mContent)->subtract(rhs.mContent)); + return *this; + } + AnyNumeric& operator*=(const AnyNumeric& rhs) + { + *this = AnyNumeric( + static_cast<numplaceholder*>(mContent)->multiply(rhs.mContent)); + return *this; + } + AnyNumeric& operator/=(const AnyNumeric& rhs) + { + *this = AnyNumeric( + static_cast<numplaceholder*>(mContent)->divide(rhs.mContent)); + return *this; + } + + + + + }; + + + template<typename ValueType> + ValueType * any_cast(Any * operand) + { + return operand && operand->getType() == typeid(ValueType) + ? &static_cast<Any::holder<ValueType> *>(operand->mContent)->held + : 0; + } + + template<typename ValueType> + const ValueType * any_cast(const Any * operand) + { + return any_cast<ValueType>(const_cast<Any *>(operand)); + } + + template<typename ValueType> + ValueType any_cast(const Any & operand) + { + const ValueType * result = any_cast<ValueType>(&operand); + if(!result) + { + throw std::runtime_error( "Bad cast from specific type" ); + } + return *result; + } + + +} + +#endif//__OGRE_ANY_H__ Added: pyplusplus_dev/unittests/include_exclude_bug_tester.py =================================================================== --- pyplusplus_dev/unittests/include_exclude_bug_tester.py (rev 0) +++ pyplusplus_dev/unittests/include_exclude_bug_tester.py 2007-11-19 21:05:05 UTC (rev 1158) @@ -0,0 +1,36 @@ +# Copyright 2004 Roman Yakovenko. +# Distributed under the Boost Software License, Version 1.0. (See +# accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import os +import sys +import unittest +import fundamental_tester_base +from pyplusplus import code_creators + +class tester_t(fundamental_tester_base.fundamental_tester_base_t): + EXTENSION_NAME = 'include_exclude_bug' + + def __init__( self, *args ): + fundamental_tester_base.fundamental_tester_base_t.__init__( + self + , tester_t.EXTENSION_NAME + , *args ) + + def customize(self, mb ): + pass + + def run_tests( self, module): + pass + +def create_suite(): + suite = unittest.TestSuite() + suite.addTest( unittest.makeSuite(tester_t)) + return suite + +def run_suite(): + unittest.TextTestRunner(verbosity=2).run( create_suite() ) + +if __name__ == "__main__": + run_suite() Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2007-11-15 15:37:20 UTC (rev 1157) +++ pyplusplus_dev/unittests/test_all.py 2007-11-19 21:05:05 UTC (rev 1158) @@ -92,6 +92,7 @@ import transfer_ownership_old_tester import transfer_ownership_tester import unicode_bug +import include_exclude_bug_tester @@ -175,6 +176,7 @@ , transfer_ownership_old_tester , transfer_ownership_tester , unicode_bug + , include_exclude_bug_tester ] class process_tester_runner_t( object ): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-15 15:37:15
|
Revision: 1157 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1157&view=rev Author: roman_yakovenko Date: 2007-11-15 07:37:20 -0800 (Thu, 15 Nov 2007) Log Message: ----------- integrating other tests Modified Paths: -------------- pyplusplus_dev/environment.py pyplusplus_dev/unittests/test_all.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2007-11-15 15:23:34 UTC (rev 1156) +++ pyplusplus_dev/environment.py 2007-11-15 15:37:20 UTC (rev 1157) @@ -17,9 +17,9 @@ gccxml_09_path = os.path.join( this_module_dir_path, '..', 'gccxml_bin', 'v09', sys.platform, 'bin' ) gccxml_path = gccxml_09_path - gccxml_version = '__GCCXML_07__' - if '0.9' in gccxml_version: - gccxml_version = '__GCCXML_09__' + gccxml_version = '__GCCXML_09__' + if '0.7' in gccxml_version: + gccxml_version = '__GCCXML_07__' executable = gccxml_path Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2007-11-15 15:23:34 UTC (rev 1156) +++ pyplusplus_dev/unittests/test_all.py 2007-11-15 15:37:20 UTC (rev 1157) @@ -78,7 +78,25 @@ import non_overridable_tester import exposed_decls_db_tester import already_exposed_tester +import bpmodule_tester +import custom_smart_ptr_classes_tester +import custom_string_tester +import final_classes_tester +#gui_tester +#gui_wizard_tester +# +import mem_fun_with_exception_tester +import overriden_virtual_functions_bug_tester +import split_module_bug_tester +import tnfox_bugs_tester +import transfer_ownership_old_tester +import transfer_ownership_tester +import unicode_bug + + + + testers = [ algorithms_tester , module_body_tester @@ -146,6 +164,17 @@ , non_overridable_tester , exposed_decls_db_tester , already_exposed_tester + , bpmodule_tester + , custom_smart_ptr_classes_tester + , custom_string_tester + , final_classes_tester + , mem_fun_with_exception_tester + , overriden_virtual_functions_bug_tester + , split_module_bug_tester + , tnfox_bugs_tester + , transfer_ownership_old_tester + , transfer_ownership_tester + , unicode_bug ] class process_tester_runner_t( object ): @@ -199,7 +228,7 @@ test_file_name = module.__file__[:-1] if test_file_name.endswith( 'pyc' ): test_file_name = test_file_name[:-1] - command_line = ' '.join([ sys.executable, module.__file__[:-1] ]) #pyc -> py + command_line = ' '.join([ sys.executable, test_file_name ]) #pyc -> py input_, output = os.popen4( command_line ) input_.close() report = [] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-15 15:23:30
|
Revision: 1156 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1156&view=rev Author: roman_yakovenko Date: 2007-11-15 07:23:34 -0800 (Thu, 15 Nov 2007) Log Message: ----------- even more improving to is_noncopyable and has_trivial_constructor algorithms Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/type_traits.py pygccxml_dev/unittests/data/type_traits.hpp Modified: pygccxml_dev/pygccxml/declarations/type_traits.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-15 06:57:30 UTC (rev 1155) +++ pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-15 15:23:34 UTC (rev 1156) @@ -15,6 +15,7 @@ within this module works on L{type_t} class hierarchy and\\or L{class_t}. """ +import os import types import matchers import typedef @@ -26,6 +27,7 @@ import templates import enumeration import class_declaration +from pygccxml import utils import types as build_in_types def __remove_alias(type_): @@ -344,31 +346,37 @@ def find_trivial_constructor( type ): """returns reference to trivial constructor or None""" assert isinstance( type, class_declaration.class_t ) - trivial = type.constructors( lambda x: x.is_trivial_constructor and x.access_type == 'public' - , recursive=False - , allow_empty=True ) - if trivial: - return trivial[0] - else: - return None + return type.find_trivial_constructor() def has_trivial_constructor( type ): """returns True, if class has public trivial constructor, False otherwise""" + logger = utils.loggers.cxx_parser + true_header = "has_trivial_constructor(TRUE)- %s - " % type.decl_string + false_header = "has_trivial_constructor(false)- %s - " % type.decl_string + if '0.9' in type.compiler: trivial = type.constructors( lambda x: x.is_trivial_constructor , recursive=False , allow_empty=True ) if trivial: if trivial[0].access_type == 'public': + logger.debug( true_header + "there is user defined public trivial constructor" ) return True else: + logger.debug( false_header + "there is user defined non-public trivial constructor" ) return False else: #there is no trivial constructor, so I should find out whether other constructors exist if type.constructors( recursive=False, allow_empty=True ): + logger.debug( false_header + "there are other user defined constructors" ) return False else: - return True + if __contains_noncopyable_mem_var( type ): + logger.debug( false_header + "class doesn't have any user defined constructor and BUT it is NOT copyable" ) + return False + else: + logger.debug( true_header + "class doesn't have any user defined constructor and it is copyable" ) + return True else: if None != find_trivial_constructor( type ): return True @@ -862,48 +870,70 @@ """returns True, if source could be converted to target, otherwise False""" return __is_convertible_t( source, target ).is_convertible() -def __is_noncopyable_single( class_ ): +def __contains_noncopyable_mem_var( class_ ): """implementation details""" - #It is not enough to check base classes, we should also to check - #member variables. - - if has_trivial_copy( class_ ) \ - and has_public_constructor( class_ ) \ - and has_public_assign( class_ ) \ - and has_public_destructor( class_ ): - return False - - mvars = filter( lambda x: isinstance( x, variable.variable_t ) - , class_.declarations ) + logger = utils.loggers.cxx_parser + mvars = class_.vars( lambda v: not v.type_qualifiers.has_static, recursive=False, allow_empty=True ) for mvar in mvars: - if mvar.type_qualifiers.has_static: - continue type_ = remove_alias( mvar.type ) type_ = remove_reference( type_ ) if is_const( type_ ): no_const = remove_const( type_ ) if is_fundamental( no_const ) or is_enum( no_const): - #~ print "__is_noncopyable_single - %s - containes const member variable - fundamental or enum" % class_.decl_string + logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - fundamental or enum" % class_.decl_string ) return True if is_class( no_const ): - #~ print "__is_noncopyable_single - %s - containes const member variable - class" % class_.decl_string + logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - class" % class_.decl_string ) return True + if is_array( no_const ): + logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes const member variable - array" % class_.decl_string ) + return True if is_class( type_ ): cls = type_.declaration if is_noncopyable( cls ): - #~ print "__is_noncopyable_single - %s - containes member variable - class that is not copyable" % class_.decl_string + logger.debug( "__contains_noncopyable_mem_var - %s - TRUE - containes member variable - class that is not copyable" % class_.decl_string ) return True - return False + logger.debug( "__contains_noncopyable_mem_var - %s - false - doesn't contains noncopyable members" % class_.decl_string ) +def __is_noncopyable_single( class_ ): + """implementation details""" + #It is not enough to check base classes, we should also to check + #member variables. + logger = utils.loggers.cxx_parser + + if has_trivial_copy( class_ ) \ + and has_public_constructor( class_ ) \ + and has_public_assign( class_ ) \ + and has_public_destructor( class_ ): + msg = os.linesep.join([ + "__is_noncopyable_single - %s - COPYABLE:" % class_.decl_string + , " trivial copy constructor: yes" + , " public constructor: yes" + , " public assign: yes" + , " public destructor: yes" + ]) + logger.debug( msg ) + return False + if __contains_noncopyable_mem_var( class_ ): + logger.debug( "__is_noncopyable_single(TRUE) - %s - contains noncopyable members" % class_.decl_string ) + return True + else: + logger.debug( "__is_noncopyable_single(FALSE) - %s - COPYABLE, because is doesn't contains noncopyable members" % class_.decl_string ) + return False + def is_noncopyable( class_ ): """returns True, if class is noncopyable, False otherwise""" + logger = utils.loggers.cxx_parser class_ = class_traits.get_declaration( class_ ) + true_header = "is_noncopyable(TRUE) - %s - " % class_.decl_string + false_header = "is_noncopyable(false) - %s - " % class_.decl_string + if class_.class_type == class_declaration.CLASS_TYPES.UNION: return False if class_.is_abstract: - #~ print "is_noncopyable - %s - abstract client" % class_.decl_string + logger.debug( true_header + "abstract client" ) return True #if class has public, user defined copy constructor, than this class is @@ -915,30 +945,30 @@ for base_desc in class_.recursive_bases: assert isinstance( base_desc, class_declaration.hierarchy_info_t ) if base_desc.related_class.decl_string in ('::boost::noncopyable', '::boost::noncopyable_::noncopyable' ): - #~ print "is_noncopyable - %s - derives from boost::noncopyable" % class_.decl_string + logger.debug( true_header + "derives from boost::noncopyable" ) return True if not has_trivial_copy( base_desc.related_class ): base_copy_ = base_desc.related_class.find_copy_constructor() if base_copy_: if base_copy_.access_type == 'private': - #~ print "is_noncopyable - %s - there is private copy constructor" % class_.decl_string + logger.debug( true_header + "there is private copy constructor" ) return True else: if __is_noncopyable_single( base_desc.related_class ): - #~ print "is_noncopyable - %s - __is_noncopyable_single returned True" % class_.decl_string + logger.debug( true_header + "__is_noncopyable_single returned True" ) return True if __is_noncopyable_single( base_desc.related_class ): - #~ print "is_noncopyable - %s - __is_noncopyable_single returned True" % class_.decl_string + logger.debug( true_header + "__is_noncopyable_single returned True" ) return True if not has_trivial_copy( class_ ): - #~ print "is_noncopyable - %s - does not have trival copy constructor" % class_.decl_string + logger.debug( true_header + "does not have trival copy constructor" ) return True elif not has_public_constructor( class_ ): - #~ print "is_noncopyable - %s - does not have a public constructor" % class_.decl_string + logger.debug( true_header + "does not have a public constructor" ) return True elif has_destructor( class_ ) and not has_public_destructor( class_ ): - #~ print "is_noncopyable - %s - has private destructor" % class_.decl_string + logger.debug( true_header + "has private destructor") return True else: return __is_noncopyable_single( class_ ) Modified: pygccxml_dev/unittests/data/type_traits.hpp =================================================================== --- pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 06:57:30 UTC (rev 1155) +++ pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 15:23:34 UTC (rev 1156) @@ -152,7 +152,10 @@ const E e_; }; - + struct const_item{ const int values[10]; }; + + struct const_container{ const const_item items[10]; }; + } namespace yes{ @@ -163,7 +166,9 @@ typedef detail::d_t d_t; typedef detail::dd_t dd_t; typedef detail::f_t f_t; - typedef detail::g_t g_t; + typedef detail::g_t g_t; + typedef detail::const_item const_item_t; + typedef detail::const_container const_container_t; } namespace no{ typedef std::string string_type; @@ -499,6 +504,7 @@ } } namespace has_trivial_constructor{ + namespace yes{ struct x{ x(){} @@ -510,6 +516,10 @@ private: y(){} }; + + struct const_item{ const int values[10]; }; + struct const_container{ const const_item items[10]; }; + } } namespace has_public_constructor{ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-15 06:57:26
|
Revision: 1155 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1155&view=rev Author: roman_yakovenko Date: 2007-11-14 22:57:30 -0800 (Wed, 14 Nov 2007) Log Message: ----------- improving is_noncopyable algorithm Modified Paths: -------------- pygccxml_dev/unittests/data/type_traits.hpp Modified: pygccxml_dev/unittests/data/type_traits.hpp =================================================================== --- pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 06:57:00 UTC (rev 1154) +++ pygccxml_dev/unittests/data/type_traits.hpp 2007-11-15 06:57:30 UTC (rev 1155) @@ -10,6 +10,7 @@ #include <string> #include <iostream> #include <vector> +#include <set> #include "noncopyable.hpp" #define TYPE_PERMUTATION( BASE, NAME ) \ @@ -79,12 +80,13 @@ static const y_type zero; }; - struct instantiate_vector{ - instantiate_vector() - : v() + struct instantiate_tmpls{ + instantiate_tmpls() + : v(), s() {} std::vector< int > v; + std::set< std::string > s; }; @@ -149,6 +151,8 @@ private: const E e_; }; + + } namespace yes{ @@ -165,6 +169,7 @@ typedef std::string string_type; typedef detail::y_type y_type; typedef std::vector< int > vector_of_int_type; + typedef std::set< std::string > string_set_type; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-15 06:56:58
|
Revision: 1154 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1154&view=rev Author: roman_yakovenko Date: 2007-11-14 22:57:00 -0800 (Wed, 14 Nov 2007) Log Message: ----------- improving is_noncopyable algorithm Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/type_traits.py Modified: pygccxml_dev/pygccxml/declarations/type_traits.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-14 18:25:20 UTC (rev 1153) +++ pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-15 06:57:00 UTC (rev 1154) @@ -883,12 +883,15 @@ if is_const( type_ ): no_const = remove_const( type_ ) if is_fundamental( no_const ) or is_enum( no_const): + #~ print "__is_noncopyable_single - %s - containes const member variable - fundamental or enum" % class_.decl_string return True if is_class( no_const ): + #~ print "__is_noncopyable_single - %s - containes const member variable - class" % class_.decl_string return True if is_class( type_ ): cls = type_.declaration if is_noncopyable( cls ): + #~ print "__is_noncopyable_single - %s - containes member variable - class that is not copyable" % class_.decl_string return True return False @@ -900,6 +903,7 @@ return False if class_.is_abstract: + #~ print "is_noncopyable - %s - abstract client" % class_.decl_string return True #if class has public, user defined copy constructor, than this class is @@ -911,21 +915,30 @@ for base_desc in class_.recursive_bases: assert isinstance( base_desc, class_declaration.hierarchy_info_t ) if base_desc.related_class.decl_string in ('::boost::noncopyable', '::boost::noncopyable_::noncopyable' ): - return True + #~ print "is_noncopyable - %s - derives from boost::noncopyable" % class_.decl_string + return True if not has_trivial_copy( base_desc.related_class ): - protected_ctrs = filter( lambda x: isinstance( x, calldef.constructor_t ) \ - and x.is_copy_constructor - , base_desc.related_class.protected_members ) - if not protected_ctrs: - return True + base_copy_ = base_desc.related_class.find_copy_constructor() + if base_copy_: + if base_copy_.access_type == 'private': + #~ print "is_noncopyable - %s - there is private copy constructor" % class_.decl_string + return True + else: + if __is_noncopyable_single( base_desc.related_class ): + #~ print "is_noncopyable - %s - __is_noncopyable_single returned True" % class_.decl_string + return True if __is_noncopyable_single( base_desc.related_class ): + #~ print "is_noncopyable - %s - __is_noncopyable_single returned True" % class_.decl_string return True if not has_trivial_copy( class_ ): + #~ print "is_noncopyable - %s - does not have trival copy constructor" % class_.decl_string return True elif not has_public_constructor( class_ ): + #~ print "is_noncopyable - %s - does not have a public constructor" % class_.decl_string return True elif has_destructor( class_ ) and not has_public_destructor( class_ ): + #~ print "is_noncopyable - %s - has private destructor" % class_.decl_string return True else: return __is_noncopyable_single( class_ ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-14 18:25:15
|
Revision: 1153 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1153&view=rev Author: roman_yakovenko Date: 2007-11-14 10:25:20 -0800 (Wed, 14 Nov 2007) Log Message: ----------- improving naming scheme Modified Paths: -------------- pyplusplus_dev/unittests/test_all.py Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2007-11-14 07:16:10 UTC (rev 1152) +++ pyplusplus_dev/unittests/test_all.py 2007-11-14 18:25:20 UTC (rev 1153) @@ -167,20 +167,26 @@ self.__update() + def __create_unique_name( self, name ): + if '__main__.' in name: + name = name.replace( '__main__', os.path.basename( self.module.__file__)[:-4] ) + return name + def __update( self ): match_found = self.bottom_line_re.search( self.output ) if match_found: self.num_of_tests += int( match_found.group( 'num_of_tests' ) ) self.total_run_time += float( match_found.group( 'seconds' ) ) + uname = self.__create_unique_name for match_found in self.test_name_re.finditer( self.output ): - self.test_results[ match_found.group( 'name' ) ] = 'ok' + self.test_results[ uname( match_found.group( 'name' ) ) ] = 'ok' for match_found in self.failed_test_re.finditer( self.output ): - self.test_results[ match_found.group( 'name' ) ] = 'FAIL' + self.test_results[ uname( match_found.group( 'name' ) ) ] = 'FAIL' for match_found in self.error_test_re.finditer( self.output ): - self.test_results[ match_found.group( 'name' ) ] = 'ERROR' + self.test_results[ uname( match_found.group( 'name' ) ) ] = 'ERROR' assert( self.num_of_tests == len( self.test_results ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-14 07:16:05
|
Revision: 1152 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1152&view=rev Author: roman_yakovenko Date: 2007-11-13 23:16:10 -0800 (Tue, 13 Nov 2007) Log Message: ----------- small bug fixes Modified Paths: -------------- pyplusplus_dev/unittests/test_all.py Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2007-11-14 07:14:07 UTC (rev 1151) +++ pyplusplus_dev/unittests/test_all.py 2007-11-14 07:16:10 UTC (rev 1152) @@ -190,6 +190,9 @@ self.__total_time = 0 def __run_single( self, module ): + test_file_name = module.__file__[:-1] + if test_file_name.endswith( 'pyc' ): + test_file_name = test_file_name[:-1] command_line = ' '.join([ sys.executable, module.__file__[:-1] ]) #pyc -> py input_, output = os.popen4( command_line ) input_.close() @@ -208,11 +211,12 @@ num_of_tests = 0 test_results = {} total_tests_only_run_time = 0 + exit_status = 0 for stat in self.__statistics: num_of_tests += stat.num_of_tests total_tests_only_run_time += stat.total_run_time test_results.update( stat.test_results ) - + exit_status = max( exit_status, stat.exit_status ) test_failed = len( filter( lambda result: result != 'ok', test_results.values() ) ) for name, result in test_results.iteritems(): @@ -220,6 +224,7 @@ print '! ', print name, ' - ', result print '----------------------------------------------------------------------' + print 'Final exit status: ', exit_status print 'Ran %d test in %fs. Multi-processing overhead: %fs.' \ % ( num_of_tests, self.__total_time, self.__total_time - total_tests_only_run_time ) print ' ' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-14 07:14:02
|
Revision: 1151 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1151&view=rev Author: roman_yakovenko Date: 2007-11-13 23:14:07 -0800 (Tue, 13 Nov 2007) Log Message: ----------- changing treatment of file path for new gccxml Modified Paths: -------------- pygccxml_dev/pygccxml/parser/scanner.py pygccxml_dev/pygccxml/parser/source_reader.py pygccxml_dev/unittests/decl_printer_tester.py pygccxml_dev/unittests/start_with_declarations_tester.py Modified: pygccxml_dev/pygccxml/parser/scanner.py =================================================================== --- pygccxml_dev/pygccxml/parser/scanner.py 2007-11-14 07:09:40 UTC (rev 1150) +++ pygccxml_dev/pygccxml/parser/scanner.py 2007-11-14 07:14:07 UTC (rev 1151) @@ -485,7 +485,7 @@ return operator def __read_version(self, attrs): - version = float( attrs.get(XML_AN_CVS_REVISION, None) ) + version = float( attrs.get(XML_AN_CVS_REVISION, 0.6) ) if version is None: version = "0.6" elif version < 1.117: Modified: pygccxml_dev/pygccxml/parser/source_reader.py =================================================================== --- pygccxml_dev/pygccxml/parser/source_reader.py 2007-11-14 07:09:40 UTC (rev 1150) +++ pygccxml_dev/pygccxml/parser/source_reader.py 2007-11-14 07:14:07 UTC (rev 1151) @@ -278,6 +278,8 @@ raise RuntimeError( "pygccxml error: file '%s' does not exist" % file ) def __produce_full_file( self, file_path ): + if 'win' in sys.platform or 'linux' in sys.platform: + file_path = file_path.replace( r'\/', os.path.sep ) if os.path.isabs( file_path ): return file_path try: Modified: pygccxml_dev/unittests/decl_printer_tester.py =================================================================== --- pygccxml_dev/unittests/decl_printer_tester.py 2007-11-14 07:09:40 UTC (rev 1150) +++ pygccxml_dev/unittests/decl_printer_tester.py 2007-11-14 07:14:07 UTC (rev 1151) @@ -3,18 +3,19 @@ # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +import os import unittest import autoconfig import parser_test_case from pygccxml import parser -from pygccxml import declarations +from pygccxml import declarations class tester_t( parser_test_case.parser_test_case_t ): def __init__(self, *args): parser_test_case.parser_test_case_t.__init__(self, *args) self.__files = [ - 'core_ns_join_1.hpp' + 'core_ns_join_1.hpp' , 'core_ns_join_2.hpp' , 'core_ns_join_3.hpp' , 'core_membership.hpp' @@ -28,6 +29,11 @@ , 'core_overloads_2.hpp' , 'typedefs_base.hpp' ] + + #~ for i, f in enumerate(self.__files): + #~ f = parser.create_cached_source_fc( os.path.join( autoconfig.data_directory, f) + #~ , os.path.join( autoconfig.data_directory, f + '.xml') ) + #~ self.__files[i] = f prj_reader = parser.project_reader_t( self.config ) self.decls = prj_reader.read_files( self.__files , compilation_mode=parser.COMPILATION_MODE.FILE_BY_FILE ) @@ -36,19 +42,19 @@ writer = lambda decl: None declarations.print_declarations( self.decls, writer=writer ) #declarations.print_declarations( self.decls ) - + def test__str__(self): decls = declarations.make_flatten(self.decls) for decl in decls: str(decl) - + def create_suite(): - suite = unittest.TestSuite() - suite.addTest( unittest.makeSuite(tester_t)) + suite = unittest.TestSuite() + suite.addTest( unittest.makeSuite(tester_t)) return suite def run_suite(): unittest.TextTestRunner(verbosity=2).run( create_suite() ) if __name__ == "__main__": - run_suite() \ No newline at end of file + run_suite() Modified: pygccxml_dev/unittests/start_with_declarations_tester.py =================================================================== --- pygccxml_dev/unittests/start_with_declarations_tester.py 2007-11-14 07:09:40 UTC (rev 1150) +++ pygccxml_dev/unittests/start_with_declarations_tester.py 2007-11-14 07:14:07 UTC (rev 1151) @@ -16,9 +16,8 @@ def __init__(self, *args ): parser_test_case.parser_test_case_t.__init__( self, *args ) self.header = 'core_ns_join_1.hpp' - self.config = config.config_t( gccxml_path=autoconfig.gccxml_path - , working_directory=autoconfig.data_directory - , start_with_declarations=[ 'E11', 'ns::ns12::E13' ] ) + self.config = autoconfig.cxx_parsers_cfg.gccxml.clone() + self.config.start_with_declarations.extend([ 'E11', 'ns::ns12::E13' ] ) def __check_result(self, decls): E11 = find_declaration( decls, fullname='::E11' ) @@ -53,4 +52,4 @@ unittest.TextTestRunner(verbosity=2).run( create_suite() ) if __name__ == "__main__": - run_suite() \ No newline at end of file + run_suite() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-14 07:09:36
|
Revision: 1150 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1150&view=rev Author: roman_yakovenko Date: 2007-11-13 23:09:40 -0800 (Tue, 13 Nov 2007) Log Message: ----------- changing default configuration on windows Modified Paths: -------------- gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config Modified: gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config 2007-11-13 20:59:19 UTC (rev 1149) +++ gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config 2007-11-14 07:09:40 UTC (rev 1150) @@ -1,2 +1,2 @@ -GCCXML_COMPILER="D:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe" +GCCXML_COMPILER="msvc71" GCCXML_CXXFLAGS=" /DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-13 20:59:14
|
Revision: 1149 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1149&view=rev Author: roman_yakovenko Date: 2007-11-13 12:59:19 -0800 (Tue, 13 Nov 2007) Log Message: ----------- using new functionality available on class_t declaration - finx_xxx_constructor Modified Paths: -------------- pyplusplus_dev/pyplusplus/module_creator/creator.py Modified: pyplusplus_dev/pyplusplus/module_creator/creator.py =================================================================== --- pyplusplus_dev/pyplusplus/module_creator/creator.py 2007-11-13 20:57:25 UTC (rev 1148) +++ pyplusplus_dev/pyplusplus/module_creator/creator.py 2007-11-13 20:59:19 UTC (rev 1149) @@ -573,9 +573,7 @@ #next constructors are not present in code, but compiler generated #Boost.Python requiers them to be declared in the wrapper class if '0.9' in self.curr_decl.compiler: - copy_constr = self.curr_decl.constructors( lambda c: c.is_copy_constructor - , recursive=False - , allow_empty=True) + copy_constr = self.curr_decl.find_copy_constructor() add_to_wrapper = False if declarations.has_trivial_copy( self.curr_decl ): #find out whether user or compiler defined it @@ -583,30 +581,28 @@ add_to_wrapper = False elif not copy_constr: add_to_wrapper = True #compiler defined will not be exposed manually later - elif copy_constr[0].is_artificial: + elif copy_constr.is_artificial: add_to_wrapper = True #compiler defined will not be exposed manually later if add_to_wrapper: cccc = code_creators.copy_constructor_wrapper_t( class_=self.curr_decl) wrapper.adopt_creator( cccc ) - trivial_constr = self.curr_decl.constructors( lambda c: c.is_trivial_constructor - , recursive=False - , allow_empty=True) + trivial_constr = self.curr_decl.find_trivial_constructor() add_to_wrapper = False if declarations.has_trivial_constructor( self.curr_decl ): if not trivial_constr: add_to_wrapper = True - elif trivial_constr[0].is_artificial: + elif trivial_constr.is_artificial: add_to_wrapper = True if add_to_wrapper: tcons = code_creators.null_constructor_wrapper_t( class_=self.curr_decl ) wrapper.adopt_creator( tcons ) else: if declarations.has_trivial_copy( self.curr_decl ): - copy_constr = self.curr_decl.constructor( lambda c: c.is_copy_constructor, recursive=False ) + copy_constr = self.curr_decl.find_copy_constructor() if not self.curr_decl.noncopyable and copy_constr.is_artificial: cccc = code_creators.copy_constructor_wrapper_t( class_=self.curr_decl) wrapper.adopt_creator( cccc ) - null_constr = declarations.find_trivial_constructor(self.curr_decl) + null_constr = self.curr_decl.find_trivial_constructor() if null_constr and null_constr.is_artificial: #this constructor is not going to be exposed tcons = code_creators.null_constructor_wrapper_t( class_=self.curr_decl ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-13 20:57:24
|
Revision: 1148 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1148&view=rev Author: roman_yakovenko Date: 2007-11-13 12:57:25 -0800 (Tue, 13 Nov 2007) Log Message: ----------- fixing noncopyable bug Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/class_declaration.py pygccxml_dev/pygccxml/declarations/type_traits.py pygccxml_dev/unittests/data/type_traits.hpp Added Paths: ----------- pygccxml_dev/unittests/data/noncopyable.hpp Modified: pygccxml_dev/pygccxml/declarations/class_declaration.py =================================================================== --- pygccxml_dev/pygccxml/declarations/class_declaration.py 2007-11-13 07:24:34 UTC (rev 1147) +++ pygccxml_dev/pygccxml/declarations/class_declaration.py 2007-11-13 20:57:25 UTC (rev 1148) @@ -393,4 +393,18 @@ self._container_traits = container_traits.find_container_traits( self ) return self._container_traits + def find_copy_constructor( self ): + copy_ = self.constructors( lambda x: x.is_copy_constructor, recursive=False, allow_empty=True ) + if copy_: + return copy_[0] + else: + return None + + def find_trivial_constructor( self ): + trivial = self.constructors( lambda x: x.is_trivial_constructor, recursive=False, allow_empty=True ) + if trivial: + return trivial[0] + else: + return None + class_types = ( class_t, class_declaration_t ) Modified: pygccxml_dev/pygccxml/declarations/type_traits.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-13 07:24:34 UTC (rev 1147) +++ pygccxml_dev/pygccxml/declarations/type_traits.py 2007-11-13 20:57:25 UTC (rev 1148) @@ -402,11 +402,9 @@ """returns True, if class has public copy constructor, False otherwise""" assert isinstance( type, class_declaration.class_t ) if '0.9' in type.compiler: - copy_ = type.constructors( lambda x: x.is_copy_constructor - , recursive=False - , allow_empty=True ) + copy_ = type.find_copy_constructor() if copy_: - if copy_[0].access_type == 'public': + if copy_.access_type == 'public': return True else: return False @@ -900,8 +898,18 @@ if class_.class_type == class_declaration.CLASS_TYPES.UNION: return False + + if class_.is_abstract: + return True + + #if class has public, user defined copy constructor, than this class is + #copyable + copy_ = class_.find_copy_constructor() + if copy_ and copy_.access_type == 'public' and not copy_.is_artificial: + return False + for base_desc in class_.recursive_bases: - assert isinstance( base_desc, class_declaration.hierarchy_info_t ) + assert isinstance( base_desc, class_declaration.hierarchy_info_t ) if base_desc.related_class.decl_string in ('::boost::noncopyable', '::boost::noncopyable_::noncopyable' ): return True if not has_trivial_copy( base_desc.related_class ): @@ -910,28 +918,11 @@ , base_desc.related_class.protected_members ) if not protected_ctrs: return True - if __is_noncopyable_single( base_desc.related_class ): return True - - if class_.is_abstract: + + if not has_trivial_copy( class_ ): return True - #~ if '0.9' in class_.compiler: - #~ #class will be mark as noncopyable if it has private operator assign and - #~ #copy constructor - #~ #select all non-public members that are copy constructor and operator assign - #~ is_noncopyable_query = \ - #~ matchers.not_matcher_t( matchers.access_type_matcher_t( 'public' ) )\ - #~ & \ - #~ ( matchers.custom_matcher_t( lambda decl: isinstance( decl, calldef.constructor_t ) \ - #~ and decl.is_copy_constructor ) - #~ | matchers.operator_matcher_t( symbol='=' ) ) - #~ result = class_.decls( is_noncopyable_query, recursive=False, allow_empty=True ) - #~ if result: - #~ return True - #~ else: - elif not has_trivial_copy( class_ ): - return True elif not has_public_constructor( class_ ): return True elif has_destructor( class_ ) and not has_public_destructor( class_ ): @@ -939,7 +930,6 @@ else: return __is_noncopyable_single( class_ ) - def is_defined_in_xxx( xxx, cls ): """small helper function, that checks whether class ( C{cls} ) is defined under C{::xxx} namespace""" Added: pygccxml_dev/unittests/data/noncopyable.hpp =================================================================== --- pygccxml_dev/unittests/data/noncopyable.hpp (rev 0) +++ pygccxml_dev/unittests/data/noncopyable.hpp 2007-11-13 20:57:25 UTC (rev 1148) @@ -0,0 +1,36 @@ +// Boost noncopyable.hpp header file --------------------------------------// + +// (C) Copyright Beman Dawes 1999-2003. Distributed under the Boost +// Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/utility for documentation. + +#ifndef BOOST_NONCOPYABLE_HPP_INCLUDED +#define BOOST_NONCOPYABLE_HPP_INCLUDED + +namespace boost { + +// Private copy constructor and copy assignment ensure classes derived from +// class noncopyable cannot be copied. + +// Contributed by Dave Abrahams + +namespace noncopyable_ // protection from unintended ADL +{ + class noncopyable + { + protected: + noncopyable() {} + ~noncopyable() {} + private: // emphasize the following members are private + noncopyable( const noncopyable& ); + const noncopyable& operator=( const noncopyable& ); + }; +} + +typedef noncopyable_::noncopyable noncopyable; + +} // namespace boost + +#endif // BOOST_NONCOPYABLE_HPP_INCLUDED Modified: pygccxml_dev/unittests/data/type_traits.hpp =================================================================== --- pygccxml_dev/unittests/data/type_traits.hpp 2007-11-13 07:24:34 UTC (rev 1147) +++ pygccxml_dev/unittests/data/type_traits.hpp 2007-11-13 20:57:25 UTC (rev 1148) @@ -9,6 +9,8 @@ #include <string> #include <iostream> +#include <vector> +#include "noncopyable.hpp" #define TYPE_PERMUTATION( BASE, NAME ) \ typedef BASE NAME##_t; \ @@ -76,14 +78,93 @@ static const y_type zero; }; + + struct instantiate_vector{ + instantiate_vector() + : v() + {} + + std::vector< int > v; + }; + + + class a_t{ + public: + + static char get_a(){ return 'a'; } + + private: + a_t(){}; + ~a_t(){}; + }; + + class b_t{ + ~b_t(){} + public: + + static char get_b(){ return 'b'; } + + }; + + class c_t : public boost::noncopyable{ + public: + static char get_c(){ return 'c'; } + + }; + + class d_t{ + private: + d_t( const d_t& ); + public: + d_t(){} + ~d_t(){} + static char get_d(){ return 'd'; } + + }; + + class dd_t : public d_t{ + public: + dd_t(){} + ~dd_t(){} + static char get_dd(){ return 'D'; } + }; + + struct e_t{ + virtual void do_smth() = 0; + private: + c_t c; + }; + + struct f_t{ + f_t() : i(0){} + virtual void do_smth() = 0; + private: + const int i; + }; + + struct g_t{ + enum E{e}; + g_t() : e_(e){} + virtual void do_smth() = 0; + private: + const E e_; + }; } namespace yes{ typedef detail::x x; + typedef detail::a_t a_t; + typedef detail::b_t b_t; + typedef detail::c_t c_t; + typedef detail::d_t d_t; + typedef detail::dd_t dd_t; + typedef detail::f_t f_t; + typedef detail::g_t g_t; } namespace no{ typedef std::string string_type; typedef detail::y_type y_type; + typedef std::vector< int > vector_of_int_type; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-13 07:24:30
|
Revision: 1147 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1147&view=rev Author: roman_yakovenko Date: 2007-11-12 23:24:34 -0800 (Mon, 12 Nov 2007) Log Message: ----------- updating links to python-ogre Modified Paths: -------------- pyplusplus_dev/docs/comparisons/compare_to.rest pyplusplus_dev/docs/quotes.rest Modified: pyplusplus_dev/docs/comparisons/compare_to.rest =================================================================== --- pyplusplus_dev/docs/comparisons/compare_to.rest 2007-11-12 22:16:36 UTC (rev 1146) +++ pyplusplus_dev/docs/comparisons/compare_to.rest 2007-11-13 07:24:34 UTC (rev 1147) @@ -37,14 +37,14 @@ * `Python-Ogre`_ sources: - http://python-ogre.python-hosting.com/browser/trunk/python-ogre/code_generators/ogre/ + http://python-ogre.svn.sourceforge.net/viewvc/python-ogre/trunk/python-ogre/code_generators/ogre/ - http://python-ogre.python-hosting.com/browser/trunk/python-ogre/code_generators/common_utils/ + http://python-ogre.svn.sourceforge.net/viewvc/python-ogre/trunk/python-ogre/code_generators/common_utils/ Pay attention: functionality defined in "common_utils" package is used by other scripts too. - .. _`Python-OGRE` : http://python-ogre.python-hosting.com/ + .. _`Python-OGRE` : http://www.python-ogre.org .. _`PyOgre` : http://www.ogre3d.org/wiki/index.php/PyOgre Modified: pyplusplus_dev/docs/quotes.rest =================================================================== --- pyplusplus_dev/docs/quotes.rest 2007-11-12 22:16:36 UTC (rev 1146) +++ pyplusplus_dev/docs/quotes.rest 2007-11-13 07:24:34 UTC (rev 1147) @@ -116,7 +116,7 @@ .. _`Python Computer Graphics Kit` : http://cgkit.sourceforge.net/ .. _`TnFOX`: http://www.nedprod.com/TnFOX/ .. _`PyOpenSG`: https://realityforge.vrsource.org/view/PyOpenSG/WebHome -.. _`Python-OGRE` : http://python-ogre.python-hosting.com/ +.. _`Python-OGRE` : http://www.python-ogre.org .. _`OGRE` : http://www.ogre3d.org/index.php?option=com_content&task=view&id=19&Itemid=79 .. Local Variables: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 22:16:31
|
Revision: 1146 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1146&view=rev Author: roman_yakovenko Date: 2007-11-12 14:16:36 -0800 (Mon, 12 Nov 2007) Log Message: ----------- updating to new gccxml version Modified Paths: -------------- pyplusplus_dev/pyplusplus/module_creator/creator.py Modified: pyplusplus_dev/pyplusplus/module_creator/creator.py =================================================================== --- pyplusplus_dev/pyplusplus/module_creator/creator.py 2007-11-12 20:21:24 UTC (rev 1145) +++ pyplusplus_dev/pyplusplus/module_creator/creator.py 2007-11-12 22:16:36 UTC (rev 1146) @@ -570,23 +570,38 @@ self.curr_code_creator.wrapper.adopt_creator( wrapper ) else: self.__extmodule.adopt_declaration_creator( wrapper ) - if declarations.has_trivial_copy( self.curr_decl ): - #next constructors are not present in code, but compiler generated - #Boost.Python requiers them to be declared in the wrapper class - if '0.9' in self.curr_decl.compiler: - copy_constr = self.curr_decl.constructors( lambda c: c.is_copy_constructor - , recursive=False - , allow_empty=True) - if not copy_constr: - cccc = code_creators.copy_constructor_wrapper_t( class_=self.curr_decl) - wrapper.adopt_creator( cccc ) - trivial_constr = self.curr_decl.constructors( lambda c: c.is_trivial_constructor - , recursive=False - , allow_empty=True) + #next constructors are not present in code, but compiler generated + #Boost.Python requiers them to be declared in the wrapper class + if '0.9' in self.curr_decl.compiler: + copy_constr = self.curr_decl.constructors( lambda c: c.is_copy_constructor + , recursive=False + , allow_empty=True) + add_to_wrapper = False + if declarations.has_trivial_copy( self.curr_decl ): + #find out whether user or compiler defined it + if self.curr_decl.noncopyable: + add_to_wrapper = False + elif not copy_constr: + add_to_wrapper = True #compiler defined will not be exposed manually later + elif copy_constr[0].is_artificial: + add_to_wrapper = True #compiler defined will not be exposed manually later + if add_to_wrapper: + cccc = code_creators.copy_constructor_wrapper_t( class_=self.curr_decl) + wrapper.adopt_creator( cccc ) + trivial_constr = self.curr_decl.constructors( lambda c: c.is_trivial_constructor + , recursive=False + , allow_empty=True) + add_to_wrapper = False + if declarations.has_trivial_constructor( self.curr_decl ): if not trivial_constr: - tcons = code_creators.null_constructor_wrapper_t( class_=self.curr_decl ) - wrapper.adopt_creator( tcons ) - else: + add_to_wrapper = True + elif trivial_constr[0].is_artificial: + add_to_wrapper = True + if add_to_wrapper: + tcons = code_creators.null_constructor_wrapper_t( class_=self.curr_decl ) + wrapper.adopt_creator( tcons ) + else: + if declarations.has_trivial_copy( self.curr_decl ): copy_constr = self.curr_decl.constructor( lambda c: c.is_copy_constructor, recursive=False ) if not self.curr_decl.noncopyable and copy_constr.is_artificial: cccc = code_creators.copy_constructor_wrapper_t( class_=self.curr_decl) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 20:21:19
|
Revision: 1145 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1145&view=rev Author: roman_yakovenko Date: 2007-11-12 12:21:24 -0800 (Mon, 12 Nov 2007) Log Message: ----------- fixing "default value" in the tester Modified Paths: -------------- pyplusplus_dev/unittests/unnamed_enums_tester.py Modified: pyplusplus_dev/unittests/unnamed_enums_tester.py =================================================================== --- pyplusplus_dev/unittests/unnamed_enums_tester.py 2007-11-12 20:19:48 UTC (rev 1144) +++ pyplusplus_dev/unittests/unnamed_enums_tester.py 2007-11-12 20:21:24 UTC (rev 1145) @@ -18,6 +18,13 @@ , unnamed_enums_tester_t.EXTENSION_NAME , *args ) + def customize( self, mb ): + enum_user_t = mb.class_( 'enum_user_t' ) + if '0.9' in enum_user_t.compiler: + for do_smth in enum_user_t.mem_funs( lambda x: x.name.startswith( 'do_smth' ) ): + do_smth.arguments[0].default_value \ + = 'unnamed_enums::enum_holder_t::' + do_smth.arguments[0].default_value + def run_tests(self, module): self.failUnless( module.OK == 1 ) self.failUnless( module.CANCEL == 0 ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 20:19:43
|
Revision: 1144 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1144&view=rev Author: roman_yakovenko Date: 2007-11-12 12:19:48 -0800 (Mon, 12 Nov 2007) Log Message: ----------- adding restricted type Modified Paths: -------------- pygccxml_dev/pygccxml/parser/linker.py pygccxml_dev/pygccxml/parser/scanner.py Modified: pygccxml_dev/pygccxml/parser/linker.py =================================================================== --- pygccxml_dev/pygccxml/parser/linker.py 2007-11-12 20:19:25 UTC (rev 1143) +++ pygccxml_dev/pygccxml/parser/linker.py 2007-11-12 20:19:48 UTC (rev 1144) @@ -264,3 +264,7 @@ def visit_declarated( self ): if isinstance( self.__inst.declaration, types.StringTypes ): self.__inst.declaration = self.__decls[self.__inst.declaration] + + def visit_restrict( self ): + self.__link_compound_type() + Modified: pygccxml_dev/pygccxml/parser/scanner.py =================================================================== --- pygccxml_dev/pygccxml/parser/scanner.py 2007-11-12 20:19:25 UTC (rev 1143) +++ pygccxml_dev/pygccxml/parser/scanner.py 2007-11-12 20:19:48 UTC (rev 1144) @@ -318,9 +318,7 @@ elif attrs.has_key( XML_AN_VOLATILE ): return volatile_t( attrs[XML_AN_TYPE] ) elif attrs.has_key( XML_AN_RESTRICT ): - #TODO: find out what is restrict type - #and I really don't know what I should return - return volatile_t( attrs[XML_AN_TYPE] ) + return restrict_t( attrs[XML_AN_TYPE] ) else: assert 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 20:19:20
|
Revision: 1143 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1143&view=rev Author: roman_yakovenko Date: 2007-11-12 12:19:25 -0800 (Mon, 12 Nov 2007) Log Message: ----------- adding restricted type Modified Paths: -------------- pygccxml_dev/pygccxml/declarations/__init__.py pygccxml_dev/pygccxml/declarations/cpptypes.py pygccxml_dev/pygccxml/declarations/type_visitor.py Modified: pygccxml_dev/pygccxml/declarations/__init__.py =================================================================== --- pygccxml_dev/pygccxml/declarations/__init__.py 2007-11-12 19:11:14 UTC (rev 1142) +++ pygccxml_dev/pygccxml/declarations/__init__.py 2007-11-12 20:19:25 UTC (rev 1143) @@ -49,6 +49,7 @@ from cpptypes import const_t from cpptypes import pointer_t from cpptypes import reference_t +from cpptypes import restrict_t from cpptypes import array_t from cpptypes import calldef_type_t from cpptypes import free_function_type_t Modified: pygccxml_dev/pygccxml/declarations/cpptypes.py =================================================================== --- pygccxml_dev/pygccxml/declarations/cpptypes.py 2007-11-12 19:11:14 UTC (rev 1142) +++ pygccxml_dev/pygccxml/declarations/cpptypes.py 2007-11-12 20:19:25 UTC (rev 1143) @@ -342,6 +342,27 @@ def _clone_impl( self ): return volatile_t( self.base.clone() ) +class restrict_t( compound_t ): + """represents C{restrict whatever} type""" + + #The restrict keyword can be considered an extension to the strict aliasing + #rule. It allows the programmer to declare that pointers which share the same + #type (or were otherwise validly created) do not alias eachother. By using + #restrict the programmer can declare that any loads and stores through the + #qualified pointer (or through another pointer copied either directly or + #indirectly from the restricted pointer) are the only loads and stores to + #the same address during the lifetime of the pointer. In other words, the + #pointer is not aliased by any pointers other than its own copies. + + def __init__( self, base ): + compound_t.__init__( self, base) + + def _create_decl_string(self): + return '__restrict__ ' + self.base.decl_string + + def _clone_impl( self ): + return restrict_t( self.base.clone() ) + class const_t( compound_t ): """represents C{whatever const} type""" def __init__( self, base ): Modified: pygccxml_dev/pygccxml/declarations/type_visitor.py =================================================================== --- pygccxml_dev/pygccxml/declarations/type_visitor.py 2007-11-12 19:11:14 UTC (rev 1142) +++ pygccxml_dev/pygccxml/declarations/type_visitor.py 2007-11-12 20:19:25 UTC (rev 1143) @@ -125,4 +125,8 @@ raise NotImplementedError() def visit_declarated( self ): - raise NotImplementedError() \ No newline at end of file + raise NotImplementedError() + + def visit_restrict( self ): + raise NotImplementedError() + \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 19:11:13
|
Revision: 1142 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1142&view=rev Author: roman_yakovenko Date: 2007-11-12 11:11:14 -0800 (Mon, 12 Nov 2007) Log Message: ----------- changing default gccxml location Modified Paths: -------------- installers/config.py Modified: installers/config.py =================================================================== --- installers/config.py 2007-11-12 11:38:54 UTC (rev 1141) +++ installers/config.py 2007-11-12 19:11:14 UTC (rev 1142) @@ -23,7 +23,7 @@ gccxml_cvs_dir = r'D:\dev\gccxml_cvs\gccxml' unzip = 'unzip -d $target_dir $archive' #command line to run in order to unzip the file else: #linux - gccxml_cvs_dir = r'/home/roman/gccxml-cvs' + gccxml_cvs_dir = r'/home/roman/gccxml-0.9-cvs' unzip = 'tar -xvvzf $archive' #command line to run in order to unzip the file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-12 11:38:56
|
Revision: 1141 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1141&view=rev Author: roman_yakovenko Date: 2007-11-12 03:38:54 -0800 (Mon, 12 Nov 2007) Log Message: ----------- updating to new gccxml build Added Paths: ----------- gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/functional gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/limits gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/valarray gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/vector gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/xdebug gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/xstring Added: gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/functional =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/functional (rev 0) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/functional 2007-11-12 11:38:54 UTC (rev 1141) @@ -0,0 +1,687 @@ +// functional standard header +#pragma once +#ifndef _FUNCTIONAL_ +#define _FUNCTIONAL_ +#include <xstddef> + +#pragma pack(push,8) +#pragma warning(push,3) + + #pragma warning(disable: 4244) +_STD_BEGIN + + // TEMPLATE STRUCT unary_function +template<class _Arg, + class _Result> + struct unary_function + { // base class for unary functions + typedef _Arg argument_type; + typedef _Result result_type; + }; + + // TEMPLATE STRUCT binary_function +template<class _Arg1, + class _Arg2, + class _Result> + struct binary_function + { // base class for binary functions + typedef _Arg1 first_argument_type; + typedef _Arg2 second_argument_type; + typedef _Result result_type; + }; + + // TEMPLATE STRUCT plus +template<class _Ty> + struct plus + : public binary_function<_Ty, _Ty, _Ty> + { // functor for operator+ + _Ty operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator+ to operands + return (_Left + _Right); + } + }; + + // TEMPLATE STRUCT minus +template<class _Ty> + struct minus + : public binary_function<_Ty, _Ty, _Ty> + { // functor for operator- + _Ty operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator- to operands + return (_Left - _Right); + } + }; + + // TEMPLATE STRUCT multiplies +template<class _Ty> + struct multiplies + : public binary_function<_Ty, _Ty, _Ty> + { // functor for operator* + _Ty operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator* to operands + return (_Left * _Right); + } + }; + + // TEMPLATE STRUCT divides +template<class _Ty> + struct divides + : public binary_function<_Ty, _Ty, _Ty> + { // functor for operator/ + _Ty operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator/ to operands + return (_Left / _Right); + } + }; + + // TEMPLATE STRUCT modulus +template<class _Ty> + struct modulus + : public binary_function<_Ty, _Ty, _Ty> + { // functor for operator% + _Ty operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator% to operands + return (_Left % _Right); + } + }; + + // TEMPLATE STRUCT negate +template<class _Ty> + struct negate + : public unary_function<_Ty, _Ty> + { // functor for unary operator- + _Ty operator()(const _Ty& _Left) const + { // apply operator- to operand + return (-_Left); + } + }; + + // TEMPLATE STRUCT equal_to +template<class _Ty> + struct equal_to + : public binary_function<_Ty, _Ty, bool> + { // functor for operator== + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator== to operands + return (_Left == _Right); + } + }; + + // TEMPLATE STRUCT not_equal_to +template<class _Ty> + struct not_equal_to + : public binary_function<_Ty, _Ty, bool> + { // functor for operator!= + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator= to operands + return (_Left != _Right); + } + }; + + // TEMPLATE STRUCT greater +template<class _Ty> + struct greater + : public binary_function<_Ty, _Ty, bool> + { // functor for operator> + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator> to operands + return (_Left > _Right); + } + }; + + // TEMPLATE STRUCT less +template<class _Ty> + struct less + : public binary_function<_Ty, _Ty, bool> + { // functor for operator< + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator< to operands + return (_Left < _Right); + } + }; + + // TEMPLATE STRUCT greater_equal +template<class _Ty> + struct greater_equal + : public binary_function<_Ty, _Ty, bool> + { // functor for operator>= + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator>= to operands + return (_Left >= _Right); + } + }; + + // TEMPLATE STRUCT less_equal +template<class _Ty> + struct less_equal + : public binary_function<_Ty, _Ty, bool> + { // functor for operator<= + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator<= to operands + return (_Left <= _Right); + } + }; + + // TEMPLATE STRUCT logical_and +template<class _Ty> + struct logical_and + : public binary_function<_Ty, _Ty, bool> + { // functor for operator&& + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator&& to operands + return (_Left && _Right); + } + }; + + // TEMPLATE STRUCT logical_or +template<class _Ty> + struct logical_or + : public binary_function<_Ty, _Ty, bool> + { // functor for operator|| + bool operator()(const _Ty& _Left, const _Ty& _Right) const + { // apply operator|| to operands + return (_Left || _Right); + } + }; + + // TEMPLATE STRUCT logical_not +template<class _Ty> + struct logical_not + : public unary_function<_Ty, bool> + { // functor for unary operator! + bool operator()(const _Ty& _Left) const + { // apply operator! to operand + return (!_Left); + } + }; + + // TEMPLATE CLASS unary_negate +template<class _Fn1> + class unary_negate + : public unary_function<typename _Fn1::argument_type, bool> + { // functor adapter !_Func(left) +public: + explicit unary_negate(const _Fn1& _Func) + : _Functor(_Func) + { // construct from functor + } + + bool operator()(const typename _Fn1::argument_type& _Left) const + { // apply functor to operand + return (!_Functor(_Left)); + } + +protected: + _Fn1 _Functor; // the functor to apply + }; + + // TEMPLATE FUNCTION not1 +template<class _Fn1> inline + unary_negate<_Fn1> not1(const _Fn1& _Func) + { // return a unary_negate functor adapter + return (std::unary_negate<_Fn1>(_Func)); + } + + // TEMPLATE CLASS binary_negate +template<class _Fn2> + class binary_negate + : public binary_function<typename _Fn2::first_argument_type, + typename _Fn2::second_argument_type, bool> + { // functor adapter !_Func(left, right) +public: + explicit binary_negate(const _Fn2& _Func) + : _Functor(_Func) + { // construct from functor + } + + bool operator()(const typename _Fn2::first_argument_type& _Left, + const typename _Fn2::second_argument_type& _Right) const + { // apply functor to operands + return (!_Functor(_Left, _Right)); + } + +protected: + _Fn2 _Functor; // the functor to apply + }; + + // TEMPLATE FUNCTION not2 +template<class _Fn2> inline + binary_negate<_Fn2> not2(const _Fn2& _Func) + { // return a binary_negate functor adapter + return (std::binary_negate<_Fn2>(_Func)); + } + + // TEMPLATE CLASS binder1st +template<class _Fn2> + class binder1st + : public unary_function<typename _Fn2::second_argument_type, + typename _Fn2::result_type> + { // functor adapter _Func(stored, right) +public: + typedef unary_function<typename _Fn2::second_argument_type, + typename _Fn2::result_type> _Base; + typedef typename _Base::argument_type argument_type; + typedef typename _Base::result_type result_type; + + binder1st(const _Fn2& _Func, + const typename _Fn2::first_argument_type& _Left) + : op(_Func), value(_Left) + { // construct from functor and left operand + } + + result_type operator()(const argument_type& _Right) const + { // apply functor to operands + return (op(value, _Right)); + } + + result_type operator()(argument_type& _Right) const + { // apply functor to operands + return (op(value, _Right)); + } + +protected: + _Fn2 op; // the functor to apply + typename _Fn2::first_argument_type value; // the left operand + }; + + // TEMPLATE FUNCTION bind1st +template<class _Fn2, + class _Ty> inline + binder1st<_Fn2> bind1st(const _Fn2& _Func, const _Ty& _Left) + { // return a binder1st functor adapter + typename _Fn2::first_argument_type _Val(_Left); + return (std::binder1st<_Fn2>(_Func, _Val)); + } + + // TEMPLATE CLASS binder2nd +template<class _Fn2> + class binder2nd + : public unary_function<typename _Fn2::first_argument_type, + typename _Fn2::result_type> + { // functor adapter _Func(left, stored) +public: + typedef unary_function<typename _Fn2::first_argument_type, + typename _Fn2::result_type> _Base; + typedef typename _Base::argument_type argument_type; + typedef typename _Base::result_type result_type; + + binder2nd(const _Fn2& _Func, + const typename _Fn2::second_argument_type& _Right) + : op(_Func), value(_Right) + { // construct from functor and right operand + } + + result_type operator()(const argument_type& _Left) const + { // apply functor to operands + return (op(_Left, value)); + } + + result_type operator()(argument_type& _Left) const + { // apply functor to operands + return (op(_Left, value)); + } + +protected: + _Fn2 op; // the functor to apply + typename _Fn2::second_argument_type value; // the right operand + }; + + // TEMPLATE FUNCTION bind2nd +template<class _Fn2, + class _Ty> inline + binder2nd<_Fn2> bind2nd(const _Fn2& _Func, const _Ty& _Right) + { // return a binder2nd functor adapter + typename _Fn2::second_argument_type _Val(_Right); + return (std::binder2nd<_Fn2>(_Func, _Val)); + } + + // TEMPLATE CLASS pointer_to_unary_function +template<class _Arg, + class _Result> + class pointer_to_unary_function + : public unary_function<_Arg, _Result> + { // functor adapter (*pfunc)(left) +public: + explicit pointer_to_unary_function(_Result (__cdecl *_Left)(_Arg)) + : _Pfun(_Left) + { // construct from pointer + } + + _Result operator()(_Arg _Left) const + { // call function with operand + return (_Pfun(_Left)); + } + +protected: + typedef _Result (__cdecl *_PfunType)(_Arg); + _PfunType _Pfun; // the function pointer + }; + + // TEMPLATE CLASS pointer_to_binary_function +template<class _Arg1, + class _Arg2, + class _Result> + class pointer_to_binary_function + : public binary_function<_Arg1, _Arg2, _Result> + { // functor adapter (*pfunc)(left, right) +public: + explicit pointer_to_binary_function( + _Result (__cdecl *_Left)(_Arg1, _Arg2)) + : _Pfun(_Left) + { // construct from pointer + } + + _Result operator()(_Arg1 _Left, _Arg2 _Right) const + { // call function with operands + return (_Pfun(_Left, _Right)); + } + +protected: + typedef _Result (__cdecl *_PfunType)(_Arg1, _Arg2); + _PfunType _Pfun; // the function pointer + }; + + // TEMPLATE FUNCTION ptr_fun +template<class _Arg, + class _Result> inline + pointer_to_unary_function<_Arg, _Result> + ptr_fun(_Result (__cdecl *_Left)(_Arg)) + { // return pointer_to_unary_function functor adapter + return (std::pointer_to_unary_function<_Arg, _Result>(_Left)); + } + +template<class _Arg1, + class _Arg2, + class _Result> inline + pointer_to_binary_function<_Arg1, _Arg2, _Result> + ptr_fun(_Result (__cdecl *_Left)(_Arg1, _Arg2)) + { // return pointer_to_binary_function functor adapter + return (std::pointer_to_binary_function<_Arg1, _Arg2, _Result>(_Left)); + } + + // TEMPLATE CLASS mem_fun_t +template<class _Result, + class _Ty> + class mem_fun_t + : public unary_function<_Ty *, _Result> + { // functor adapter (*p->*pfunc)(), non-const *pfunc +public: + explicit mem_fun_t(_Result (_Ty::*_Pm)()) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(_Ty *_Pleft) const + { // call function + return ((_Pleft->*_Pmemfun)()); + } + +private: + _Result (_Ty::*_Pmemfun)(); // the member function pointer + }; + + // TEMPLATE CLASS mem_fun1_t +template<class _Result, + class _Ty, + class _Arg> + class mem_fun1_t + : public binary_function<_Ty *, _Arg, _Result> + { // functor adapter (*p->*pfunc)(val), non-const *pfunc +public: + explicit mem_fun1_t(_Result (_Ty::*_Pm)(_Arg)) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(_Ty *_Pleft, _Arg _Right) const + { // call function with operand + return ((_Pleft->*_Pmemfun)(_Right)); + } + +private: + _Result (_Ty::*_Pmemfun)(_Arg); // the member function pointer + }; + + // TEMPLATE CLASS const_mem_fun_t +template<class _Result, + class _Ty> + class const_mem_fun_t + : public unary_function<const _Ty *, _Result> + { // functor adapter (*p->*pfunc)(), const *pfunc +public: + explicit const_mem_fun_t(_Result (_Ty::*_Pm)() const) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(const _Ty *_Pleft) const + { // call function + return ((_Pleft->*_Pmemfun)()); + } + +private: + _Result (_Ty::*_Pmemfun)() const; // the member function pointer + }; + + // TEMPLATE CLASS const_mem_fun1_t +template<class _Result, + class _Ty, + class _Arg> + class const_mem_fun1_t + : public binary_function<const _Ty *, _Arg, _Result> + { // functor adapter (*p->*pfunc)(val), const *pfunc +public: + explicit const_mem_fun1_t(_Result (_Ty::*_Pm)(_Arg) const) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(const _Ty *_Pleft, _Arg _Right) const + { // call function with operand + return ((_Pleft->*_Pmemfun)(_Right)); + } + +private: + _Result (_Ty::*_Pmemfun)(_Arg) const; // the member function pointer + }; + + // TEMPLATE FUNCTION mem_fun +template<class _Result, + class _Ty> inline + mem_fun_t<_Result, _Ty> mem_fun(_Result (_Ty::*_Pm)()) + { // return a mem_fun_t functor adapter + return (std::mem_fun_t<_Result, _Ty>(_Pm)); + } + +template<class _Result, + class _Ty, + class _Arg> inline + mem_fun1_t<_Result, _Ty, _Arg> mem_fun(_Result (_Ty::*_Pm)(_Arg)) + { // return a mem_fun1_t functor adapter + return (std::mem_fun1_t<_Result, _Ty, _Arg>(_Pm)); + } + +template<class _Result, + class _Ty> inline + const_mem_fun_t<_Result, _Ty> + mem_fun(_Result (_Ty::*_Pm)() const) + { // return a const_mem_fun_t functor adapter + return (std::const_mem_fun_t<_Result, _Ty>(_Pm)); + } + +template<class _Result, + class _Ty, + class _Arg> inline + const_mem_fun1_t<_Result, _Ty, _Arg> + mem_fun(_Result (_Ty::*_Pm)(_Arg) const) + { // return a const_mem_fun1_t functor adapter + return (std::const_mem_fun1_t<_Result, _Ty, _Arg>(_Pm)); + } + + // TEMPLATE FUNCTION mem_fun1 (retained) +template<class _Result, + class _Ty, + class _Arg> inline + mem_fun1_t<_Result, _Ty, _Arg> mem_fun1(_Result (_Ty::*_Pm)(_Arg)) + { // return a mem_fun1_t functor adapter + return (std::mem_fun1_t<_Result, _Ty, _Arg>(_Pm)); + } + + // TEMPLATE CLASS mem_fun_ref_t +template<class _Result, + class _Ty> + class mem_fun_ref_t + : public unary_function<_Ty, _Result> + { // functor adapter (*left.*pfunc)(), non-const *pfunc +public: + explicit mem_fun_ref_t(_Result (_Ty::*_Pm)()) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(_Ty& _Left) const + { // call function + return ((_Left.*_Pmemfun)()); + } + +private: + _Result (_Ty::*_Pmemfun)(); // the member function pointer + }; + + // TEMPLATE CLASS mem_fun1_ref_t +template<class _Result, + class _Ty, + class _Arg> + class mem_fun1_ref_t + : public binary_function<_Ty, _Arg, _Result> + { // functor adapter (*left.*pfunc)(val), non-const *pfunc +public: + explicit mem_fun1_ref_t(_Result (_Ty::*_Pm)(_Arg)) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(_Ty& _Left, _Arg _Right) const + { // call function with operand + return ((_Left.*_Pmemfun)(_Right)); + } + +private: + _Result (_Ty::*_Pmemfun)(_Arg); // the member function pointer + }; + + // TEMPLATE CLASS const_mem_fun_ref_t +template<class _Result, + class _Ty> + class const_mem_fun_ref_t + : public unary_function<_Ty, _Result> + { // functor adapter (*left.*pfunc)(), const *pfunc +public: + explicit const_mem_fun_ref_t(_Result (_Ty::*_Pm)() const) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(const _Ty& _Left) const + { // call function + return ((_Left.*_Pmemfun)()); + } + +private: + _Result (_Ty::*_Pmemfun)() const; // the member function pointer + }; + + // TEMPLATE CLASS const_mem_fun1_ref_t +template<class _Result, + class _Ty, + class _Arg> + class const_mem_fun1_ref_t + : public binary_function<_Ty, _Arg, _Result> + { // functor adapter (*left.*pfunc)(val), const *pfunc +public: + explicit const_mem_fun1_ref_t(_Result (_Ty::*_Pm)(_Arg) const) + : _Pmemfun(_Pm) + { // construct from pointer + } + + _Result operator()(const _Ty& _Left, _Arg _Right) const + { // call function with operand + return ((_Left.*_Pmemfun)(_Right)); + } + +private: + _Result (_Ty::*_Pmemfun)(_Arg) const; // the member function pointer + }; + + // TEMPLATE FUNCTION mem_fun_ref +template<class _Result, + class _Ty> inline + mem_fun_ref_t<_Result, _Ty> mem_fun_ref(_Result (_Ty::*_Pm)()) + { // return a mem_fun_ref_t functor adapter + return (std::mem_fun_ref_t<_Result, _Ty>(_Pm)); + } + +template<class _Result, + class _Ty, + class _Arg> inline + mem_fun1_ref_t<_Result, _Ty, _Arg> + mem_fun_ref(_Result (_Ty::*_Pm)(_Arg)) + { // return a mem_fun1_ref_t functor adapter + return (std::mem_fun1_ref_t<_Result, _Ty, _Arg>(_Pm)); + } + +template<class _Result, + class _Ty> inline + const_mem_fun_ref_t<_Result, _Ty> + mem_fun_ref(_Result (_Ty::*_Pm)() const) + { // return a const_mem_fun_ref_t functor adapter + return (std::const_mem_fun_ref_t<_Result, _Ty>(_Pm)); + } + +template<class _Result, + class _Ty, + class _Arg> inline + const_mem_fun1_ref_t<_Result, _Ty, _Arg> + mem_fun_ref(_Result (_Ty::*_Pm)(_Arg) const) + { // return a const_mem_fun1_ref_t functor adapter + return (std::const_mem_fun1_ref_t<_Result, _Ty, _Arg>(_Pm)); + } + + // TEMPLATE FUNCTION mem_fun1_ref (retained) +template<class _Result, + class _Ty, + class _Arg> inline + mem_fun1_ref_t<_Result, _Ty, _Arg> mem_fun1_ref(_Result (_Ty::*_Pm)(_Arg)) + { // return a mem_fun1_ref_t functor adapter + return (std::mem_fun1_ref_t<_Result, _Ty, _Arg>(_Pm)); + } +_STD_END + + #pragma warning(default: 4244) + +#pragma warning(pop) +#pragma pack(pop) + +#endif /* _FUNCTIONAL_ */ + +/* + * Copyright (c) 1992-2002 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. + */ + +/* + * This file is derived from software bearing the following + * restrictions: + * + * Copyright (c) 1994 + * Hewlett-Packard Company + * + * Permission to use, copy, modify, distribute and sell this + * software and its documentation for any purpose is hereby + * granted without fee, provided that the above copyright notice + * appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation. + * Hewlett-Packard Company makes no representations about the + * suitability of this software for any purpose. It is provided + * "as is" without express or implied warranty. + V3.13:0009 */ Added: gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/limits =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/limits (rev 0) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/limits 2007-11-12 11:38:54 UTC (rev 1141) @@ -0,0 +1,1016 @@ +// limits standard header +#pragma once +#ifndef _LIMITS_ +#define _LIMITS_ +#include <ymath.h> +#include <cfloat> +#include <climits> +#include <cmath> +#include <cwchar> +#include <xstddef> + +#pragma pack(push,8) +#pragma warning(push,3) +_STD_BEGIN + +// ASSUMES: +// wraparound 2's complement integer arithmetic w/o traps +// all CHAR_BITs of each byte used by integers +// IEC559 (IEEE 754) floating-point arithmetic +// floating-point errors can trap +// tinyness detected before floating-point rounding +// 64-bit long long (if _LONGLONG defined) + + // ENUM float_denorm_style +typedef enum + { // constants for different IEEE float denormalization styles + denorm_indeterminate = -1, + denorm_absent = 0, + denorm_present = 1} + float_denorm_style; + + // ENUM float_round_style +typedef enum + { // constants for different IEEE rounding styles + round_indeterminate = -1, + round_toward_zero = 0, + round_to_nearest = 1, + round_toward_infinity = 2, + round_toward_neg_infinity = 3} + float_round_style; + + // STRUCT _Num_base +struct _CRTIMP2 _Num_base + { // base for all types, with common defaults + _STCONS(float_denorm_style, has_denorm, denorm_absent); + _STCONS(bool, has_denorm_loss, false); + _STCONS(bool, has_infinity, false); + _STCONS(bool, has_quiet_NaN, false); + _STCONS(bool, has_signaling_NaN, false); + _STCONS(bool, is_bounded, false); + _STCONS(bool, is_exact, false); + _STCONS(bool, is_iec559, false); + _STCONS(bool, is_integer, false); + _STCONS(bool, is_modulo, false); + _STCONS(bool, is_signed, false); + _STCONS(bool, is_specialized, false); + _STCONS(bool, tinyness_before, false); + _STCONS(bool, traps, false); + _STCONS(float_round_style, round_style, round_toward_zero); + _STCONS(int, digits, 0); + _STCONS(int, digits10, 0); + _STCONS(int, max_exponent, 0); + _STCONS(int, max_exponent10, 0); + _STCONS(int, min_exponent, 0); + _STCONS(int, min_exponent10, 0); + _STCONS(int, radix, 0); + }; + +#define __GCCXML_AVOID_MACRO_EXPANSION + // TEMPLATE CLASS numeric_limits +template<class _Ty> + class numeric_limits + : public _Num_base + { // numeric limits for arbitrary type _Ty (say little or nothing) +public: + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (_Ty(0)); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (_Ty(0)); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (_Ty(0)); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (_Ty(0)); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (_Ty(0)); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (_Ty(0)); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (_Ty(0)); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (_Ty(0)); + } + }; + + // STRUCT _Num_int_base +struct _CRTIMP2 _Num_int_base + : public _Num_base + { // base for integer types + _STCONS(bool, is_bounded, true); + _STCONS(bool, is_exact, true); + _STCONS(bool, is_integer, true); + _STCONS(bool, is_modulo, true); + _STCONS(bool, is_specialized, true); + _STCONS(int, radix, 2); + }; + + // STRUCT _Num_float_base +struct _CRTIMP2 _Num_float_base + : public _Num_base + { // base for floating-point types + _STCONS(float_denorm_style, has_denorm, denorm_present); + _STCONS(bool, has_denorm_loss, true); + _STCONS(bool, has_infinity, true); + _STCONS(bool, has_quiet_NaN, true); + _STCONS(bool, has_signaling_NaN, true); + _STCONS(bool, is_bounded, true); + _STCONS(bool, is_exact, false); + _STCONS(bool, is_iec559, true); + _STCONS(bool, is_integer, false); + _STCONS(bool, is_modulo, false); + _STCONS(bool, is_signed, true); + _STCONS(bool, is_specialized, true); + _STCONS(bool, tinyness_before, true); + _STCONS(bool, traps, true); + _STCONS(float_round_style, round_style, round_to_nearest); + _STCONS(int, radix, FLT_RADIX); + }; + + // CLASS numeric_limits<char> +template<> class _CRTIMP2 numeric_limits<char> + : public _Num_int_base + { // limits for type char +public: + typedef char _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (CHAR_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (CHAR_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, CHAR_MIN != 0); + _STCONS(int, digits, CHAR_BIT - (CHAR_MIN != 0 ? 1 : 0)); + _STCONS(int, digits10, (CHAR_BIT - (CHAR_MIN != 0 ? 1 : 0)) + * 301L / 1000); + }; + + #ifdef _NATIVE_WCHAR_T_DEFINED + // CLASS numeric_limits<wchar_t> +template<> class _CRTIMP2 numeric_limits<wchar_t> + : public _Num_int_base + { // limits for type wchar_t +public: + typedef wchar_t _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return ((_Ty)WCHAR_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return ((_Ty)WCHAR_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, WCHAR_MIN != 0); + _STCONS(int, digits, CHAR_BIT * sizeof (wchar_t) + - (WCHAR_MIN != 0 ? 1 : 0)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (wchar_t) + - (WCHAR_MIN != 0 ? 1 : 0)) * 301L / 1000); + }; + #endif /* _NATIVE_WCHAR_T_DEFINED */ + + // CLASS numeric_limits<_Bool> +template<> class _CRTIMP2 numeric_limits<_Bool> + : public _Num_int_base + { // limits for type bool +public: + typedef bool _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (false); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (true); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_modulo, false); + _STCONS(bool, is_signed, false); + _STCONS(int, digits, 1); + _STCONS(int, digits10, 0); + }; + + // CLASS numeric_limits<signed char> +template<> class _CRTIMP2 numeric_limits<signed char> + : public _Num_int_base + { // limits for type signed char +public: + typedef signed char _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (SCHAR_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (SCHAR_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT - 1); + _STCONS(int, digits10, (CHAR_BIT - 1) * 301L / 1000); + }; + + // CLASS numeric_limits<unsigned char> +template<> class _CRTIMP2 numeric_limits<unsigned char> + : public _Num_int_base + { // limits for type unsigned char +public: + typedef unsigned char _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (0); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (UCHAR_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT); + _STCONS(int, digits10, (CHAR_BIT) * 301L / 1000); + }; + + // CLASS numeric_limits<short> +template<> class _CRTIMP2 numeric_limits<short> + : public _Num_int_base + { // limits for type short +public: + typedef short _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (SHRT_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (SHRT_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (short) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (short) - 1) + * 301L / 1000); + }; + + // CLASS numeric_limits<unsigned short> +template<> class _CRTIMP2 numeric_limits<unsigned short> + : public _Num_int_base + { // limits for type unsigned short +public: + typedef unsigned short _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (0); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (USHRT_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned short)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned short)) + * 301L / 1000); + }; + + // CLASS numeric_limits<int> +template<> class _CRTIMP2 numeric_limits<int> + : public _Num_int_base + { // limits for type int +public: + typedef int _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (INT_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (INT_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (int) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (int) - 1) + * 301L / 1000); + }; + + // CLASS numeric_limits<unsigned int> +template<> class _CRTIMP2 numeric_limits<unsigned int> + : public _Num_int_base + { // limits for type unsigned int +public: + typedef unsigned int _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (0); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (UINT_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned int)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned int)) + * 301L / 1000); + }; + + // CLASS numeric_limits<long> +template<> class _CRTIMP2 numeric_limits<long> + : public _Num_int_base + { // limits for type long +public: + typedef long _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (LONG_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (LONG_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (long) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (long) - 1) + * 301L / 1000); + }; + + // CLASS numeric_limits<unsigned long> +template<> class _CRTIMP2 numeric_limits<unsigned long> + : public _Num_int_base + { // limits for type unsigned long +public: + typedef unsigned long _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (0); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (ULONG_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned long)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned long)) + * 301L / 1000); + }; + + #ifdef _LONGLONG + // CLASS numeric_limits<_LONGLONG> +template<> class _CRTIMP2 numeric_limits<_LONGLONG> + : public _Num_int_base + { // limits for type long long +public: + typedef _LONGLONG _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (-_LLONG_MAX - _C2); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (_LLONG_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (_LONGLONG) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (_LONGLONG) - 1) + * 301L / 1000); + }; + + // CLASS numeric_limits<_ULONGLONG> +template<> class _CRTIMP2 numeric_limits<_ULONGLONG> + : public _Num_int_base + { // limits for type unsigned long long +public: + typedef _ULONGLONG _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (0); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (_ULLONG_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (0); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (0); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (0); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (0); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (0); + } + + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (_ULONGLONG)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (_ULONGLONG)) + * 301L / 1000); + }; + #endif /* _LONGLONG */ + + // CLASS numeric_limits<float> +template<> class _CRTIMP2 numeric_limits<float> + : public _Num_float_base + { // limits for type float +public: + typedef float _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (FLT_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (FLT_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (FLT_EPSILON); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0.5); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (_FDenorm._Float); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (_FInf._Float); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (_FNan._Float); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (_FSnan._Float); + } + + _STCONS(int, digits, FLT_MANT_DIG); + _STCONS(int, digits10, FLT_DIG); + _STCONS(int, max_exponent, (int)FLT_MAX_EXP); + _STCONS(int, max_exponent10, (int)FLT_MAX_10_EXP); + _STCONS(int, min_exponent, (int)FLT_MIN_EXP); + _STCONS(int, min_exponent10, (int)FLT_MIN_10_EXP); + }; + + // CLASS numeric_limits<double> +template<> class _CRTIMP2 numeric_limits<double> + : public _Num_float_base + { // limits for type double +public: + typedef double _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (DBL_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (DBL_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (DBL_EPSILON); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0.5); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (_Denorm._Double); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (_Inf._Double); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (_Nan._Double); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (_Snan._Double); + } + + _STCONS(int, digits, DBL_MANT_DIG); + _STCONS(int, digits10, DBL_DIG); + _STCONS(int, max_exponent, (int)DBL_MAX_EXP); + _STCONS(int, max_exponent10, (int)DBL_MAX_10_EXP); + _STCONS(int, min_exponent, (int)DBL_MIN_EXP); + _STCONS(int, min_exponent10, (int)DBL_MIN_10_EXP); + }; + + // CLASS numeric_limits<long double> +template<> class _CRTIMP2 numeric_limits<long double> + : public _Num_float_base + { // limits for type long double +public: + typedef long double _Ty; + + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return minimum value + return (LDBL_MIN); + } + + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + { // return maximum value + return (LDBL_MAX); + } + + static _Ty __cdecl epsilon() _THROW0() + { // return smallest effective increment from 1.0 + return (LDBL_EPSILON); + } + + static _Ty __cdecl round_error() _THROW0() + { // return largest rounding error + return (0.5); + } + + static _Ty __cdecl denorm_min() _THROW0() + { // return minimum denormalized value + return (_LDenorm._Long_double); + } + + static _Ty __cdecl infinity() _THROW0() + { // return positive infinity + return (_LInf._Long_double); + } + + static _Ty __cdecl quiet_NaN() _THROW0() + { // return non-signaling NaN + return (_LNan._Long_double); + } + + static _Ty __cdecl signaling_NaN() _THROW0() + { // return signaling NaN + return (_LSnan._Long_double); + } + + _STCONS(int, digits, LDBL_MANT_DIG); + _STCONS(int, digits10, LDBL_DIG); + _STCONS(int, max_exponent, (int)LDBL_MAX_EXP); + _STCONS(int, max_exponent10, (int)LDBL_MAX_10_EXP); + _STCONS(int, min_exponent, (int)LDBL_MIN_EXP); + _STCONS(int, min_exponent10, (int)LDBL_MIN_10_EXP); + }; +_STD_END +#pragma warning(pop) +#pragma pack(pop) + +#endif /* _LIMITS_ */ + +/* + * Copyright (c) 1992-2002 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. + V3.13:0009 */ Added: gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/valarray =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/valarray (rev 0) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc71/Include/valarray 2007-11-12 11:38:54 UTC (rev 1141) @@ -0,0 +1,1550 @@ +// valarray standard header +#pragma once +#ifndef _VALARRAY_ +#define _VALARRAY_ +#include <cmath> +#include <xstddef> + +#define __GCCXML_AVOID_MACRO_EXPANSION + +#pragma pack(push,8) +#pragma warning(push,3) + + #pragma warning(disable: 4244 4700) +_STD_BEGIN + + // FORWARD REFERENCES +class gslice; +class slice; + +template<class _Ty> + class gslice_array; +template<class _Ty> + class indirect_array; +template<class _Ty> + class mask_array; +template<class _Ty> + class slice_array; +template<class _Ty> + class valarray; + +typedef valarray<_Bool> _Boolarray; +typedef valarray<size_t> _Sizarray; + + // MACROS FOR valarray +#define _VALOP(TYPE, LENGTH, RHS) /* assign RHS(_Idx) to new valarray */ \ + valarray<TYPE> _Ans(LENGTH); \ + for (size_t _Idx = 0; _Idx < _Ans.size(); ++_Idx) \ + _Ans[_Idx] = RHS; \ + return _Ans + +#define _VALGOP(RHS) /* apply RHS(_Idx) to valarray */ \ + for (size_t _Idx = 0; _Idx < size(); ++_Idx) \ + _Myptr[_Idx] RHS; \ + return *this + + // TEMPLATE CLASS valarray +template<class _Ty> + class valarray + { // store array with various indexing options +public: + typedef _Ty value_type; + + explicit valarray(size_t _Count = 0) + { // construct with _Count * _Ty() + _Tidy(); + _Myres = _Count; + _Grow(_Count); + } + + valarray(const _Ty& _Val, size_t _Count) + { // construct with _Count * _Val + _Tidy(); + _Grow(_Count, &_Val); + } + + valarray(const _Ty *_Ptr, size_t _Count) + { // construct with [_Ptr, _Ptr + _Count) + _Tidy(); + _Grow(_Count, _Ptr, 1); + } + + valarray(const valarray<_Ty>& _Right) + { // construct from valarray + _Tidy(); + _Grow(_Right.size(), _Right._Myptr, 1); + } + + valarray(const slice_array<_Ty>& _Slicearr) + { // construct from slice_array + _Tidy(); + *this = _Slicearr; + } + + valarray(const gslice_array<_Ty>& _Gslicearr) + { // construct from gslice_array + _Tidy(); + *this = _Gslicearr; + } + + valarray(const mask_array<_Ty>& _Maskarr) + { // construct from mask_array + _Tidy(); + *this = _Maskarr; + } + + valarray(const indirect_array<_Ty>& _Indarr) + { // construct from indirect_array + _Tidy(); + *this = _Indarr; + } + + ~valarray() + { // destroy the object + _Tidy(true); + } + + valarray<_Ty>& operator=(const valarray<_Ty>& _Right) + { // assign valarray _Right + if (this == &_Right) + ; // do nothing + else if (size() == _Right.size()) + for (size_t _Idx = 0; _Idx < size(); ++_Idx) + _Myptr[_Idx] = _Right[_Idx]; + else + { // resize and copy + _Tidy(true); + _Grow(_Right.size(), _Right._Myptr, 1); + } + return (*this); + } + + valarray<_Ty>& operator=(const _Ty& _Val) + { // assign _Val to each element + _VALGOP(= _Val); + } + + void resize(size_t _Newsize) + { // determine new length, padding with _Ty() elements as needed + resize(_Newsize, _Ty()); + } + + void resize(size_t _Newsize, const _Ty _Val) + { // determine new length, padding with _Val elements as needed + _Grow(_Newsize, &_Val, 0, true); + } + + valarray<_Ty>& operator=( + const slice_array<_Ty>& _Slicearr); // defined below + + valarray<_Ty>& operator=( + const gslice_array<_Ty>& _Gslicearr); // defined below + + valarray<_Ty>& operator=( + const mask_array<_Ty>& _Maskarr); // defined below + + valarray<_Ty>& operator=( + const indirect_array<_Ty>& _Indarr); // defined below + + valarray<_Ty> operator+() const + { // return +valarray + _VALOP(_Ty, size(), +_Myptr[_Idx]); + } + + valarray<_Ty> operator-() const + { // return -valarray + _VALOP(_Ty, size(), -_Myptr[_Idx]); + } + + valarray<_Ty> operator~() const + { // return ~valarray + _VALOP(_Ty, size(), ~_Myptr[_Idx]); + } + + _Boolarray operator!() const + { // return !valarray + _VALOP(_Bool, size(), !_Myptr[_Idx]); + } + + valarray<_Ty>& operator*=(const _Ty& _Right) + { // multiply valarray elements by _Right + _VALGOP(*= _Right); + } + + valarray<_Ty>& operator/=(const _Ty& _Right) + { // divide valarray elements by _Right + _VALGOP(/= _Right); + } + + valarray<_Ty>& operator%=(const _Ty& _Right) + { // remainder valarray elements by _Right + _VALGOP(%= _Right); + } + + valarray<_Ty>& operator+=(const _Ty& _Right) + { // add _Right to valarray elements + _VALGOP(+= _Right); + } + + valarray<_Ty>& operator-=(const _Ty& _Right) + { // subtract _Right from valarray elements + _VALGOP(-= _Right); + } + + valarray<_Ty>& operator^=(const _Ty& _Right) + { // XOR _Right into valarray elements + _VALGOP(^= _Right); + } + + valarray<_Ty>& operator&=(const _Ty& _Right) + { // AND _Right into valarray elements + _VALGOP(&= _Right); + } + + valarray<_Ty>& operator|=(const _Ty& _Right) + { // OR _Right into valarray elements + _VALGOP(|= _Right); + } + + valarray<_Ty>& operator<<=(const _Ty& _Right) + { // left shift valarray elements by _Right + _VALGOP(<<= _Right); + } + + valarray<_Ty>& operator>>=(const _Ty& _Right) + { // right shift valarray elements by _Right + _VALGOP(>>= _Right); + } + + valarray<_Ty>& operator*=(const valarray<_Ty>& _Right) + { // multiply valarray elements by valarray _Right elements + _VALGOP(*= _Right[_Idx]); + } + + valarray<_Ty>& operator/=(const valarray<_Ty>& _Right) + { // divide valarray elements by valarray _Right elements + _VALGOP(/= _Right[_Idx]); + } + + valarray<_Ty>& operator%=(const valarray<_Ty>& _Right) + { // remainder valarray elements by valarray _Right elements + _VALGOP(%= _Right[_Idx]); + } + + valarray<_Ty>& operator+=(const valarray<_Ty>& _Right) + { // add valarray _Right elements to valarray elements + _VALGOP(+= _Right[_Idx]); + } + + valarray<_Ty>& operator-=(const valarray<_Ty>& _Right) + { // subtract valarray _Right elements from valarray elements + _VALGOP(-= _Right[_Idx]); + } + + valarray<_Ty>& operator^=(const valarray<_Ty>& _Right) + { // XOR valarray _Right elements into valarray elements + _VALGOP(^= _Right[_Idx]); + } + + valarray<_Ty>& operator|=(const valarray<_Ty>& _Right) + { // OR valarray _Right elements into valarray elements + _VALGOP(|= _Right[_Idx]); + } + + valarray<_Ty>& operator&=(const valarray<_Ty>& _Right) + { // AND valarray _Right elements into valarray elements + _VALGOP(&= _Right[_Idx]); + } + + valarray<_Ty>& operator<<=(const valarray<_Ty>& _Right) + { // left shift valarray elements by valarray _Right elements + _VALGOP(<<= _Right[_Idx]); + } + + valarray<_Ty>& operator>>=(const valarray<_Ty>& _Right) + { // right shift valarray elements by valarray _Right elements + _VALGOP(>>= _Right[_Idx]); + } + + size_t size() const + { // return length of sequence + return (_Mysize); + } + + _Ty operator[](size_t _Off) const + { // subscript nonmutable sequence + return (_Myptr[_Off]); + } + + _Ty& operator[](size_t _Off) + { // subscript mutable sequence + return (_Myptr[_Off]); + } + + valarray<_Ty> operator[]( + slice _Slicearr) const; // defined below + + slice_array<_Ty> operator[]( + slice _Slicearr); // defined below + + valarray<_Ty> operator[]( + const gslice& _Gslicearr) const; // defined below + + gslice_array<_Ty> operator[]( + const gslice& _Gslicearr); // defined below + + valarray<_Ty> operator[]( + const _Boolarray& _Boolarr) const; // defined below + + mask_array<_Ty> operator[]( + const _Boolarray& _Boolarr); // defined below + + valarray<_Ty> operator[]( + const _Sizarray& _Indarr) const; // defined below + + indirect_array<_Ty> operator[]( + const _Sizarray& _Indarr); // defined below + + _Ty sum() const + { // return sum all elements + _Ty _Sum = _Myptr[0]; + for (size_t _Idx = 0; ++_Idx < size(); ) + _Sum += _Myptr[_Idx]; + return (_Sum); + } + + _Ty min __GCCXML_AVOID_MACRO_EXPANSION() const + { // return smallest of all elements + _Ty _Min = _Myptr[0]; + for (size_t _Idx = 0; ++_Idx < size(); ) + if (_Myptr[_Idx] < _Min) + _Min = _Myptr[_Idx]; + return (_Min); + } + + _Ty max __GCCXML_AVOID_MACRO_EXPANSION() const + { // return largest of all elements + _Ty _Max = _Myptr[0]; + for (size_t _Idx = 0; ++_Idx < size(); ) + if (_Max < _Myptr[_Idx]) + _Max = _Myptr[_Idx]; + return (_Max); + } + + valarray<_Ty> shift(int _Count) const + { // return valarray left shifted + static _Ty _Dflt; + _VALOP(_Ty, size(), + 0 < _Count && size() - _Idx <= (size_t)_Count + || _Count < 0 && _Idx < (size_t)-_Count + ? _Dflt : _Myptr[_Idx + _Count]); + } + + valarray<_Ty> cshift(int _Count) const + { // return valarray left rotated + if (size() == 0) + ; // no shift + else if (_Count < 0) + { // right shift + if ((_Count += size()) < 0) + _Count = size() - (-_Count) % size(); + } + else if (size() <= (size_t)_Count) + _Count %= size(); + + _VALOP(_Ty, size(), size() - _Idx <= (size_t)_Count + ? _Myptr[_Idx - size() + _Count] : _Myptr[_Idx + _Count]); + } + + valarray<_Ty> apply(_Ty _Func(_Ty)) const + { // return valarray transformed by _Func, value argument + _VALOP(_Ty, size(), _Func(_Myptr[_Idx])); + } + + valarray<_Ty> apply(_Ty _Func(const _Ty&)) const + { // return valarray transformed by _Func, nonmutable argument + _VALOP(_Ty, size(), _Func(_Myptr[_Idx])); + } + + void free() // retained + { // erase all elements + _Tidy(true); + } + +private: + void _Grow(size_t _Count, + const _Ty *_Ptr = 0, + size_t _Inc = 0, + bool _Trim = false) + { // grow to _Count elements and pad, trim if _Trim is true + size_t _Oldsize = _Myptr == 0 ? 0 : _Myres; + + if (_Count == 0) + { // new sequence empty + if (_Trim) + _Tidy(true); + } + else if (_Count == _Oldsize || _Count < _Oldsize && !_Trim) + ; // big enough, no need to pad or trim + else + { // allocate new array, copy and pad + size_t _Idx; + size_t _Newsize = _Myptr == 0 && _Count < _Myres + ? _Myres : _Count; + _Ty *_Newptr = 0; + size_t _Nm = _Count < _Mysize ? _Count : _Mysize; + + _TRY_BEGIN + _Newptr = new _Ty[_Newsize]; + _CATCH_ALL + _Tidy(true); // allocation failed, discard storage and reraise + _RERAISE; + _CATCH_END + + for (_Idx = 0; _Idx < _Nm; ++_Idx) + _Newptr[_Idx] = _Myptr[_Idx]; + if (_Ptr != 0) + for (; _Idx < _Newsize; ++_Idx, _Ptr += _Inc) + _Newptr[_Idx] = *_Ptr; + + _Tidy(true); + _Myptr = _Newptr; + _Myres = _Newsize; + } + _Mysize = _Count; + } + + void _Tidy(bool _Constructed = false) + { // initialize the object, freeing any allocated storage + if (_Constructed && _Myptr != 0) + delete[] _Myptr; + _Mysize = 0; + _Myptr = 0; + _Myres = 0; + } + + _Ty *_Myptr; // current storage reserved for array + size_t _Mysize; // current length of sequence + size_t _Myres; // length of array + }; + + // valarray TEMPLATE FUNCTIONS +template<class _Ty> inline + valarray<_Ty> operator*(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray * scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] * _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator*(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar * valarray + _VALOP(_Ty, _Right.size(), _Left * _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator/(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray / scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] / _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator/(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar / valarray + _VALOP(_Ty, _Right.size(), _Left / _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator%(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray % scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] % _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator%(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar % valarray + _VALOP(_Ty, _Right.size(), _Left % _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator+(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray + scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] + _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator+(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar + valarray + _VALOP(_Ty, _Right.size(), _Left + _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator-(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray - scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] - _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator-(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar - valarray + _VALOP(_Ty, _Right.size(), _Left - _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator^(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray ^ scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] ^ _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator^(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar ^ valarray + _VALOP(_Ty, _Right.size(), _Left ^ _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator&(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray & scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] & _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator&(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar & valarray + _VALOP(_Ty, _Right.size(), _Left & _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator|(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray | scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] | _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator|(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar | valarray + _VALOP(_Ty, _Right.size(), _Left | _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator<<(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray << scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] << _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator<<(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar << valarray + _VALOP(_Ty, _Right.size(), _Left << _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator>>(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray >> scalar + _VALOP(_Ty, _Left.size(), _Left[_Idx] >> _Right); + } + +template<class _Ty> inline + valarray<_Ty> operator>>(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar >> valarray + _VALOP(_Ty, _Right.size(), _Left >> _Right[_Idx]); + } + +template<class _Ty> inline + _Boolarray operator&&(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray && scalar + _VALOP(_Bool, _Left.size(), _Left[_Idx] && _Right); + } + +template<class _Ty> inline + _Boolarray operator&&(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar && valarray + _VALOP(_Bool, _Right.size(), _Left && _Right[_Idx]); + } + +template<class _Ty> inline + _Boolarray operator||(const valarray<_Ty>& _Left, + const _Ty& _Right) + { // return valarray || scalar + _VALOP(_Bool, _Left.size(), _Left[_Idx] || _Right); + } + +template<class _Ty> inline + _Boolarray operator||(const _Ty& _Left, + const valarray<_Ty>& _Right) + { // return scalar || valarray + _VALOP(_Bool, _Right.size(), _Left || _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator*(const valarray<_Ty>& _Left, + const valarray<_Ty>& _Right) + { // return valarray * valarray + _VALOP(_Ty, _Left.size(), _Left[_Idx] * _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator/(const valarray<_Ty>& _Left, + const valarray<_Ty>& _Right) + { // return valarray ? valarray + _VALOP(_Ty, _Left.size(), _Left[_Idx] / _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator%(const valarray<_Ty>& _Left, + const valarray<_Ty>& _Right) + { // return valarray % valarray + _VALOP(_Ty, _Left.size(), _Left[_Idx] % _Right[_Idx]); + } + +template<class _Ty> inline + valarray<_Ty> operator+(const valarray<_Ty>& _Left, + const valarray<... [truncated message content] |
From: <rom...@us...> - 2007-11-12 11:36:37
|
Revision: 1140 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1140&view=rev Author: roman_yakovenko Date: 2007-11-12 03:36:40 -0800 (Mon, 12 Nov 2007) Log Message: ----------- updating to new gccxml build Modified Paths: -------------- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/deque gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/fstream gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/functional gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/istream gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/list gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/map gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/ostream gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/sstream gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/string gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/vector gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/xstring gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/xtree Added Paths: ----------- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/complex gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/limits gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/set gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/valarray gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/xlocale Added: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/complex =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/complex (rev 0) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/complex 2007-11-12 11:36:40 UTC (rev 1140) @@ -0,0 +1,373 @@ +// complex standard header + +#if _MSC_VER > 1000 +#pragma once +#endif + +#ifndef _COMPLEX_ +#define _COMPLEX_ +#include <ymath.h> +#include <cmath> +#include <sstream> +#include <xutility> + +#ifdef _MSC_VER +#pragma pack(push,8) +#endif /* _MSC_VER */ +_STD_BEGIN +#define __STD_COMPLEX + // TEMPLATE CLASS _Ctr +template<class _Ty> class _Ctr { +public: + static _Ty _Cosh(_Ty _X, _Ty _Y) + {return (::_Cosh((double)_X, (double)_Y)); } + static short _Exp(_Ty *_P, _Ty _Y, short _E) + {double _W = (double)*_P; + short _Ans = ::_Exp(&_W, (double)_Y, _E); + *_P = (_Ty)_W; + return (_Ans); } + static _Ty _Infv(_Ty) + {return (_Inf._D); } + static bool _Isinf(_Ty _X) + {double _W = (double)_X; + return (_Dtest(&_W) == _INFCODE); } + static bool _Isnan(_Ty _X) + {double _W = (double)_X; + return (_Dtest(&_W) == _NANCODE); } + static _Ty _Nanv(_Ty) + {return (_Nan._D); } + static _Ty _Sinh(_Ty _X, _Ty _Y) + {return (::_Sinh((double)_X, (double)_Y)); } + static _Ty atan2(_Ty _Y, _Ty _X) + {return (::atan2((double)_Y, (double)_X)); } + static _Ty cos(_Ty _X) + {return (::cos((double)_X)); } + static _Ty exp(_Ty _X) + {return (::exp((double)_X)); } + static _Ty ldexp(_Ty _R, int _E) + {return (::ldexp((double)_R, _E)); } + static _Ty log(_Ty _X) + {return (::log((double)_X)); } + static _Ty pow(_Ty _X, _Ty _Y) + {return (::pow((double)_X, (double)_Y)); } + static _Ty sin(_Ty _X) + {return (::sin((double)_X)); } + static _Ty sqrt(_Ty _X) + {return (::sqrt((double)_X)); } + }; + // CLASS _Ctr<long double> +template<> +class _CRTIMP _Ctr<long double> { +public: + typedef long double _Ty; + static _Ty _Cosh(_Ty _X, _Ty _Y) + {return (_LCosh(_X, _Y)); } + static short _Exp(_Ty *_P, _Ty _Y, short _E) + {return (_LExp(_P, _Y, _E)); } + static _Ty _Infv(_Ty) + {return (_LInf._L); } + static bool _Isinf(_Ty _X) + {return (_LDtest(&_X) == _INFCODE); } + static bool _Isnan(_Ty _X) + {return (_LDtest(&_X) == _NANCODE); } + static _Ty _Nanv(_Ty) + {return (_LNan._L); } + static _Ty _Sinh(_Ty _X, _Ty _Y) + {return (_LSinh(_X, _Y)); } + static _Ty atan2(_Ty _Y, _Ty _X) + {return (atan2l(_Y, _X)); } + static _Ty cos(_Ty _X) + {return (cosl(_X)); } + static _Ty exp(_Ty _X) + {return (expl(_X)); } + static _Ty ldexp(_Ty _R, int _E) + {return (ldexpl(_R, _E)); } + static _Ty log(_Ty _X) + {return (logl(_X)); } + static _Ty pow(_Ty _X, _Ty _Y) + {return (powl(_X, _Y)); } + static _Ty sin(_Ty _X) + {return (sinl(_X)); } + static _Ty sqrt(_Ty _X) + {return (sqrtl(_X)); } + }; + // CLASS _Ctr<double> +template<> +class _CRTIMP _Ctr<double> { +public: + typedef double _Ty; + static _Ty _Cosh(_Ty _X, _Ty _Y) + {return (::_Cosh(_X, _Y)); } + static short _Exp(_Ty *_P, _Ty _Y, short _E) + {return (::_Exp(_P, _Y, _E)); } + static _Ty _Infv(_Ty) + {return (_Inf._D); } + static bool _Isinf(_Ty _X) + {return (_Dtest(&_X) == _INFCODE); } + static bool _Isnan(_Ty _X) + {return (_Dtest(&_X) == _NANCODE); } + static _Ty _Nanv(_Ty) + {return (_Nan._D); } + static _Ty _Sinh(_Ty _X, _Ty _Y) + {return (::_Sinh(_X, _Y)); } + static _Ty atan2(_Ty _Y, _Ty _X) + {return (::atan2(_Y, _X)); } + static _Ty cos(_Ty _X) + {return (::cos(_X)); } + static _Ty exp(_Ty _X) + {return (::exp(_X)); } + static _Ty ldexp(_Ty _R, int _E) + {return (::ldexp(_R, _E)); } + static _Ty log(_Ty _X) + {return (::log(_X)); } + static _Ty pow(_Ty _X, _Ty _Y) + {return (::pow(_X, _Y)); } + static _Ty sin(_Ty _X) + {return (::sin(_X)); } + static _Ty sqrt(_Ty _X) + {return (::sqrt(_X)); } + }; +template<> +class _CRTIMP _Ctr<float> { +public: + typedef float _Ty; + static _Ty _Cosh(_Ty _X, _Ty _Y) + {return (_FCosh(_X, _Y)); } + static short _Exp(_Ty *_P, _Ty _Y, short _E) + {return (_FExp(_P, _Y, _E)); } + static _Ty _Infv(_Ty) + {return (_FInf._F); } + static bool _Isinf(_Ty _X) + {return (_FDtest(&_X) == _INFCODE); } + static bool _Isnan(_Ty _X) + {return (_FDtest(&_X) == _NANCODE); } + static _Ty _Nanv(_Ty) + {return (_FNan._F); } + static _Ty _Sinh(_Ty _X, _Ty _Y) + {return (_FSinh(_X, _Y)); } + static _Ty atan2(_Ty _Y, _Ty _X) + {return (atan2f(_Y, _X)); } + static _Ty cos(_Ty _X) + {return (cosf(_X)); } + static _Ty exp(_Ty _X) + {return (expf(_X)); } + static _Ty ldexp(_Ty _R, int _E) + {return (ldexpf(_R, _E)); } + static _Ty log(_Ty _X) + {return (logf(_X)); } + static _Ty pow(_Ty _X, _Ty _Y) + {return (powf(_X, _Y)); } + static _Ty sin(_Ty _X) + {return (sinf(_X)); } + static _Ty sqrt(_Ty _X) + {return (sqrtf(_X)); } + }; + // TEMPLATE CLASS _Complex_base +template<class _Ty> class complex; +class _CRTIMP complex<float>; +class _CRTIMP complex<double>; +class _CRTIMP complex<long double>; +template<class _Ty> + class _Complex_base { +public: + typedef _Complex_base<_Ty> _Myt; + typedef _Ctr<_Ty> _Myctr; + typedef _Ty value_type; + _Complex_base(const _Ty& _R, const _Ty& _I) + : _Re(_R), _Im(_I) {} + _Myt& operator+=(const _Ty& _X) + {_Re = _Re + _X; + return (*this); } + _Myt& operator-=(const _Ty& _X) + {_Re = _Re - _X; + return (*this); } + _Myt& operator*=(const _Ty& _X) + {_Re = _Re * _X; + _Im = _Im * _X; + return (*this); } + _Myt& operator/=(const _Ty& _X) + {_Re = _Re / _X; + _Im = _Im / _X; + return (*this); } + _Ty real(const _Ty& _X) + {return (_Re = _X); } + _Ty imag(const _Ty& _X) + {return (_Im = _X); } + _Ty real() const + {return (_Re); } + _Ty imag() const + {return (_Im); } +protected: + _Ty _Re, _Im; + }; + + + // CLASS complex<float> +template<> +class _CRTIMP complex<float> : public _Complex_base<float> { +public: + typedef float _Ty; + explicit complex(const complex<double>&); + explicit complex(const complex<long double>&); + complex(const _Ty& _R = 0, const _Ty& _I = 0) + : _Complex_base<_Ty>(_R, _I) {} + complex<_Ty>& operator=(const _Ty& _X) + {_Re = _X; + _Im = 0; + return (*this); } + }; + // CLASS complex<double> +template<> +class _CRTIMP complex<double> : public _Complex_base<double> { +public: + typedef double _Ty; + complex(const complex<float>&); + explicit complex(const complex<long double>&); + complex(const _Ty& _R = 0, const _Ty& _I = 0) + : _Complex_base<_Ty>(_R, _I) {} + complex<_Ty>& operator=(const _Ty& _X) + {_Re = _X; + _Im = 0; + return (*this); } + }; + // CLASS complex<long double> +template<> +class _CRTIMP complex<long double> : public _Complex_base<long double> { +public: + typedef long double _Ty; + complex(const complex<float>&); + complex(const complex<double>&); + complex(const _Ty& _R = 0, const _Ty& _I = 0) + : _Complex_base<_Ty>(_R, _I) {} + complex<_Ty>& operator=(const _Ty& _X) + {_Re = _X; + _Im = 0; + return (*this); } + }; + // CONSTRUCTORS FOR complex SPECIALIZATIONS +inline complex<float>::complex(const complex<double>& _X) + : _Complex_base<float>((_Ty)_X.real(), (_Ty)_X.imag()) {} +inline complex<float>::complex(const complex<long double>& _X) + : _Complex_base<float>((_Ty)_X.real(), (_Ty)_X.imag()) {} +inline complex<double>::complex(const complex<float>& _X) + : _Complex_base<double>((_Ty)_X.real(), (_Ty)_X.imag()) {} +inline complex<double>::complex(const complex<long double>& _X) + : _Complex_base<double>((_Ty)_X.real(), (_Ty)_X.imag()) {} +inline complex<long double>::complex(const complex<float>& _X) + : _Complex_base<long double>((_Ty)_X.real(), (_Ty)_X.imag()) {} +inline complex<long double>::complex(const complex<double>& _X) + : _Complex_base<long double>((_Ty)_X.real(), (_Ty)_X.imag()) {} + // TEMPLATE CLASS complex +template<class _Ty> + class complex : public _Complex_base<_Ty> { +public: + complex(const _Ty& _R = 0, const _Ty& _I = 0) + : _Complex_base<_Ty>(_R, _I) {} + typedef _Ty _U; + complex(const complex<_U>& _X) + : _Complex_base<_Ty>((_Ty)_X.real(), (_Ty)_X.imag()) {} + complex<_Ty>& operator=(const complex<_U>& _X) + {this->_Re = (_Ty)_X.real(); + this->_Im = (_Ty)_X.imag(); + return (*this); } + }; + // TEMPLATE complex OPERATORS +template<class _Ty, class _U> inline + complex<_Ty>& __cdecl operator+=( + complex<_Ty>& _X, + const complex<_U>& _Y) + {_X.real(_X.real() + (_Ty)_Y.real()); + _X.imag(_X.imag() + (_Ty)_Y.imag()); + return (_X); } +template<class _Ty, class _U> inline + complex<_Ty>& __cdecl operator-=( + complex<_Ty>& _X, + const complex<_U>& _Y) + {_X.real(_X.real() - (_Ty)_Y.real()); + _X.imag(_X.imag() - (_Ty)_Y.imag()); + return (_X); } +template<class _Ty, class _U> inline + complex<_Ty>& __cdecl operator*=( + complex<_Ty>& _X, + const complex<_U>& _Y) + {_Ty _Yre = (_Ty)_Y.real(); + _Ty _Yim = (_Ty)_Y.imag(); + _Ty _W = _X.real() * _Yre - _X.imag() * _Yim; + _X.imag(_X.real() * _Yim + _X.imag() * _Yre); + _X.real(_W); + return (_X); } +template<class _Ty, class _U> inline + complex<_Ty>& __cdecl operator/=( + complex<_Ty>& _X, + const complex<_U>& _Y) + {typedef _Ctr<_Ty> _Myctr; + _Ty _Yre = (_Ty)_Y.real(); + _Ty _Yim = (_Ty)_Y.imag(); + if (_Myctr::_Isnan(_Yre) || _Myctr::_Isnan(_Yim)) + _X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real()); + else if ((_Yim < 0 ? -_Yim : +_Yim) + < (_Yre < 0 ? -_Yre : +_Yre)) + {_Ty _Wr = _Yim / _Yre; + _Ty _Wd = _Yre + _Wr * _Yim; + if (_Myctr::_Isnan(_Wd) || _Wd == 0) + _X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real()); + else + {_Ty _W = (_X.real() + _X.imag() * _Wr) / _Wd; + _X.imag((_X.imag() - _X.real() * _Wr) / _Wd); + _X.real(_W); }} + else if (_Yim == 0) + _X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real()); + else + {_Ty _Wr = _Yre / _Yim; + _Ty _Wd = _Yim + _Wr * _Yre; + if (_Myctr::_Isnan(_Wd) || _Wd == 0) + _X.real(_Myctr::_Nanv(_Yre)), _X.imag(_X.real()); + else + {_Ty _W = (_X.real() * _Wr + _X.imag()) / _Wd; + _X.imag((_X.imag() * _Wr - _X.real()) / _Wd); + _X.real(_W); }} + return (_X); } + // TEMPLATE FUNCTION operator>> +template<class _E, class _Tr, class _U> inline + basic_istream<_E, _Tr>& __cdecl operator>>( + basic_istream<_E, _Tr>& _I, complex<_U>& _X) + {typedef complex<_U> _Myt; + _E _Ch; + long double _Re, _Im; + if (_I >> _Ch && _Ch != '(') + _I.putback(_Ch), _I >> _Re, _Im = 0; + else if (_I >> _Re >> _Ch && _Ch != ',') + if (_Ch == ')') + _Im = 0; + else + _I.putback(_Ch), _I.setstate(ios_base::failbit); + else if (_I >> _Im >> _Ch && _Ch != ')') + _I.putback(_Ch), _I.setstate(ios_base::failbit); + if (!_I.fail()) + _X = _Myt((_U)_Re, (_U)_Im); + return (_I); } + // TEMPLATE FUNCTION operator<< +template<class _E, class _Tr, class _U> inline + basic_ostream<_E, _Tr>& __cdecl operator<<( + basic_ostream<_E, _Tr>& _O, const complex<_U>& _X) + {basic_ostringstream<_E, _Tr, allocator<_E> > _S; + _S.flags(_O.flags()); + _S.imbue(_O.getloc()); + _S.precision(_O.precision()); + _S << '(' << real(_X) << ',' << imag(_X) << ')'; + return (_O << _S.str().c_str()); } + #define _CMPLX(T) complex<T > + #define _CTR(T) _Ctr<T > + #define _TMPLT(T) template<class T > + #include <xcomplex> +_STD_END +#ifdef _MSC_VER +#pragma pack(pop) +#endif /* _MSC_VER */ + +#endif /* _COMPLEX_ */ + +/* + * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. + */ Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/deque =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/deque 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/deque 2007-11-12 11:36:40 UTC (rev 1140) @@ -124,25 +124,25 @@ iterator(_Tptr _P, _Mapptr _M) : const_iterator(_P, _M) {} reference operator*() const - {return (*_Next); } + {return (*this->_Next); } _Tptr operator->() const {return (&**this); } iterator& operator++() - {if (++_Next == _Last) + {if (++this->_Next == _Last) {_First = *++_Map; _Last = _First + _DEQUESIZ; - _Next = _First; } + this->_Next = _First; } return (*this); } iterator operator++(int) {iterator _Tmp = *this; ++*this; return (_Tmp); } iterator& operator--() - {if (_Next == _First) + {if (this->_Next == _First) {_First = *--_Map; _Last = _First + _DEQUESIZ; - _Next = _Last; } - --_Next; + this->_Next = _Last; } + --this->_Next; return (*this); } iterator operator--(int) {iterator _Tmp = *this; @@ -160,18 +160,18 @@ {iterator _Tmp = *this; return (_Tmp -= _N); } difference_type operator-(const iterator& _X) const - {return (_Map == _X._Map ? _Next - _X._Next + {return (_Map == _X._Map ? this->_Next - _X._Next : _DEQUESIZ * (_Map - _X._Map - 1) - + (_Next - _First) + (_X._Last - _X._Next)); } + + (this->_Next - _First) + (_X._Last - _X._Next)); } reference operator[](difference_type _N) const {return (*(*this + _N)); } bool operator==(const iterator& _X) const - {return (_Next == _X._Next); } + {return (this->_Next == _X._Next); } bool operator!=(const iterator& _X) const {return (!(*this == _X)); } bool operator<(const iterator& _X) const {return (_Map < _X._Map - || _Map == _X._Map && _Next < _X._Next); } + || _Map == _X._Map && this->_Next < _X._Next); } bool operator<=(const iterator& _X) const {return (!(_X < *this)); } bool operator>(const iterator& _X) const Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/fstream =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/fstream 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/fstream 2007-11-12 11:36:40 UTC (rev 1140) @@ -67,6 +67,9 @@ public: typedef basic_filebuf<_E, _Tr> _Myt; typedef basic_streambuf<_E, _Tr> _Mysb; + typedef typename _Mysb::int_type int_type; + typedef typename _Mysb::pos_type pos_type; + typedef typename _Mysb::off_type off_type; typedef codecvt<_E, char, typename _Tr::state_type> _Cvt; basic_filebuf(_Filet *_F = 0) : _Loc(), _Mysb() {_Init(_F, _Newfl); } @@ -98,8 +101,8 @@ virtual int_type overflow(int_type _C = _Tr::eof()) {if (_Tr::eq_int_type(_Tr::eof(), _C)) return (_Tr::not_eof(_C)); - else if (pptr() != 0 && pptr() < epptr()) - {*_Pninc() = _Tr::to_char_type(_C); + else if (this->pptr() != 0 && this->pptr() < this->epptr()) + {*this->_Pninc() = _Tr::to_char_type(_C); return (_C); } else if (_File == 0) return (_Tr::eof()); @@ -122,18 +125,18 @@ return (_Tr::eof()); case codecvt_base::ok: // can fall through {size_t _N = _D - _Str->begin(); - return (fwrite(_Str->begin(), _N, 1, _File) + return (fwrite(_Str->begin(), 1, _N, _File) == _N ? _C : _Tr::eof()); } case codecvt_base::noconv: return (_Fputc(_X, _File) ? _C : _Tr::eof()); default: return (_Tr::eof()); }}}} virtual int_type pbackfail(int_type _C = _Tr::eof()) - {if (gptr() != 0 && eback() < gptr() + {if (this->gptr() != 0 && this->eback() < this->gptr() && (_Tr::eq_int_type(_Tr::eof(), _C) - || _Tr::eq_int_type(_Tr::to_int_type(gptr()[-1]), + || _Tr::eq_int_type(_Tr::to_int_type(this->gptr()[-1]), _C))) - {_Gndec(); + {this->_Gndec(); return (_Tr::not_eof(_C)); } else if (_File == 0 || _Tr::eq_int_type(_Tr::eof(), _C)) return (_Tr::eof()); @@ -148,13 +151,13 @@ else return (_Tr::eof()); } virtual int_type underflow() - {if (gptr() != 0 && gptr() < egptr()) - return (_Tr::to_int_type(*gptr())); + {if (this->gptr() != 0 && this->gptr() < this->egptr()) + return (_Tr::to_int_type(*this->gptr())); else return (pbackfail(uflow())); } virtual int_type uflow() - {if (gptr() != 0 && gptr() < egptr()) - return (_Tr::to_int_type(*_Gninc())); + {if (this->gptr() != 0 && this->gptr() < this->egptr()) + return (_Tr::to_int_type(*this->_Gninc())); else if (_File == 0) return (_Tr::eof()); else if (_Pcvt == 0) @@ -227,7 +230,7 @@ _State0 = _Stinit; _Pcvt = 0; } void _Initcvt() - {_Pcvt = (_Cvt *)&_USE(getloc(), _Cvt); + {_Pcvt = (_Cvt *)&_USE(this->getloc(), _Cvt); _Loc = _ADDFAC(_Loc, _Pcvt); if (_Pcvt->always_noconv()) _Pcvt = 0; @@ -259,24 +262,24 @@ basic_ifstream() : basic_istream<_E, _Tr>(&_Fb) {} explicit basic_ifstream(const char *_S, - ios_base::openmode _M = in) + ios_base::openmode _M = ios_base::in) : basic_istream<_E, _Tr>(&_Fb) - {if (_Fb.open(_S, _M | in) == 0) - setstate(failbit); } + {if (_Fb.open(_S, _M | ios_base::in) == 0) + this->setstate(ios::failbit); } virtual ~basic_ifstream() {} _Myfb *rdbuf() const {return ((_Myfb *)&_Fb); } bool is_open() const {return (_Fb.is_open()); } - void open(const char *_S, ios_base::openmode _M = in) - {if (_Fb.open(_S, _M | in) == 0) - setstate(failbit); } + void open(const char *_S, ios_base::openmode _M = ios_base::in) + {if (_Fb.open(_S, _M | ios_base::in) == 0) + this->setstate(ios::failbit); } void open(const char *_S, ios_base::open_mode _M) - {open(_S, (openmode)_M); } + {open(_S, (ios_base::openmode)_M); } void close() {if (_Fb.close() == 0) - setstate(failbit); } + this->setstate(ios::failbit); } private: _Myfb _Fb; }; @@ -297,24 +300,24 @@ basic_ofstream() : basic_ostream<_E, _Tr>(&_Fb) {} explicit basic_ofstream(const char *_S, - ios_base::openmode _M = out | trunc) + ios_base::openmode _M = ios_base::out | ios_base::trunc) : basic_ostream<_E, _Tr>(&_Fb) - {if (_Fb.open(_S, _M | out) == 0) - setstate(failbit); } + {if (_Fb.open(_S, _M | ios_base::out) == 0) + this->setstate(ios_base::failbit); } virtual ~basic_ofstream() {} _Myfb *rdbuf() const {return ((_Myfb *)&_Fb); } bool is_open() const {return (_Fb.is_open()); } - void open(const char *_S, ios_base::openmode _M = out | trunc) - {if (_Fb.open(_S, _M | out) == 0) - setstate(failbit); } + void open(const char *_S, ios_base::openmode _M = ios_base::out | ios_base::trunc) + {if (_Fb.open(_S, _M | ios_base::out) == 0) + this->setstate(ios_base::failbit); } void open(const char *_S, ios_base::open_mode _M) - {open(_S, (openmode)_M); } + {open(_S, (ios_base::openmode)_M); } void close() {if (_Fb.close() == 0) - setstate(failbit); } + this->setstate(ios_base::failbit); } private: _Myfb _Fb; }; @@ -334,24 +337,24 @@ basic_fstream() : basic_iostream<_E, _Tr>(&_Fb) {} explicit basic_fstream(const char *_S, - ios_base::openmode _M = in | out) + ios_base::openmode _M = ios_base::in | ios_base::out) : basic_iostream<_E, _Tr>(&_Fb) {if (_Fb.open(_S, _M) == 0) - setstate(failbit); } + this->setstate(ios::failbit); } virtual ~basic_fstream() {} basic_filebuf<_E, _Tr> *rdbuf() const {return ((basic_filebuf<_E, _Tr> *)&_Fb); } bool is_open() const {return (_Fb.is_open()); } - void open(const char *_S, ios_base::openmode _M = in | out) + void open(const char *_S, ios_base::openmode _M = ios_base::in | ios_base::out) {if (_Fb.open(_S, _M) == 0) - setstate(failbit); } + this->setstate(ios::failbit); } void open(const char *_S, ios_base::open_mode _M) - {open(_S, (openmode)_M); } + {open(_S, (ios_base::openmode)_M); } void close() {if (_Fb.close() == 0) - setstate(failbit); } + this->setstate(ios::failbit); } private: basic_filebuf<_E, _Tr> _Fb; }; Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/functional =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/functional 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/functional 2007-11-12 11:36:40 UTC (rev 1140) @@ -155,6 +155,10 @@ : public unary_function<typename _Bfn::second_argument_type, typename _Bfn::result_type> { public: + typedef typename unary_function<typename _Bfn::second_argument_type, + typename _Bfn::result_type>::argument_type argument_type; + typedef typename unary_function<typename _Bfn::second_argument_type, + typename _Bfn::result_type>::result_type result_type; binder1st(const _Bfn& _X, const typename _Bfn::first_argument_type& _Y) : op(_X), value(_Y) {} @@ -175,6 +179,10 @@ : public unary_function<typename _Bfn::first_argument_type, typename _Bfn::result_type> { public: + typedef typename unary_function<typename _Bfn::first_argument_type, + typename _Bfn::result_type>::argument_type argument_type; + typedef typename unary_function<typename _Bfn::first_argument_type, + typename _Bfn::result_type>::result_type result_type; binder2nd(const _Bfn& _X, const typename _Bfn::second_argument_type& _Y) : op(_X), value(_Y) {} @@ -199,7 +207,8 @@ _R operator()(_A _X) const {return (_Fn(_X)); } protected: - _R (__cdecl *_Fn)(_A); + typedef _R (__cdecl *_FnType)(_A); + _FnType _Fn; }; // TEMPLATE CLASS pointer_to_binary_function template<class _A1, class _A2, class _R> @@ -212,7 +221,8 @@ _R operator()(_A1 _X, _A2 _Y) const {return (_Fn(_X, _Y)); } protected: - _R (__cdecl *_Fn)(_A1, _A2); + typedef _R (__cdecl *_FnType)(_A1, _A2); + _FnType _Fn; }; // TEMPLATE FUNCTION ptr_fun template<class _A, class _R> inline Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/istream =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/istream 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/istream 2007-11-12 11:36:40 UTC (rev 1140) @@ -22,10 +22,14 @@ typedef istreambuf_iterator<_E, _Tr> _Iter; typedef ctype<_E> _Ctype; typedef num_get<_E, _Iter> _Nget; + typedef typename _Myios::pos_type pos_type; + typedef typename _Myios::off_type off_type; + typedef typename _Myios::iostate iostate; + typedef typename _Myios::int_type int_type; explicit basic_istream(_Mysb *_S, bool _Isstd = false) : _Chcount(0) {init(_S, _Isstd); } basic_istream(_Uninitialized) - {_Addstd(); } + {this->_Addstd(); } virtual ~basic_istream() {} class sentry { @@ -38,21 +42,21 @@ bool _Ok; }; bool ipfx(bool _Noskip = false) - {if (good()) - {if (tie() != 0) - tie()->flush(); - if (!_Noskip && flags() & skipws) - {const _Ctype& _Fac = _USE(getloc(), _Ctype); + {if (this->good()) + {if (this->tie() != 0) + this->tie()->flush(); + if (!_Noskip && this->flags() & ios_base::skipws) + {const _Ctype& _Fac = _USE(this->getloc(), _Ctype); _TRY_IO_BEGIN - int_type _C = rdbuf()->sgetc(); + int_type _C = this->rdbuf()->sgetc(); while (!_Tr::eq_int_type(_Tr::eof(), _C) && _Fac.is(_Ctype::space, _Tr::to_char_type(_C))) - _C = rdbuf()->snextc(); + _C = this->rdbuf()->snextc(); _CATCH_IO_END } - if (good()) + if (this->good()) return (true); } - setstate(failbit); + this->setstate(ios_base::failbit); return (false); } void isfx() {} @@ -65,135 +69,135 @@ {(*_F)(*(ios_base *)this); return (*this); } _Myt& operator>>(_Bool& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(short& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) {long _Y; - const _Nget& _Fac = _USE(getloc(), _Nget); + const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _Y); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _Y); _CATCH_IO_END - if (_St & failbit || _Y < SHRT_MIN || SHRT_MAX < _Y) - _St |= failbit; + if (_St & ios_base::failbit || _Y < SHRT_MIN || SHRT_MAX < _Y) + _St |= ios_base::failbit; else _X = (short)_Y; } setstate(_St); return (*this); } _Myt& operator>>(unsigned short& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(int& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) {long _Y; - const _Nget& _Fac = _USE(getloc(), _Nget); + const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _Y); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _Y); _CATCH_IO_END - if (_St & failbit || _Y < INT_MIN || INT_MAX < _Y) - _St |= failbit; + if (_St & ios_base::failbit || _Y < INT_MIN || INT_MAX < _Y) + _St |= ios_base::failbit; else _X = _Y; } setstate(_St); return (*this); } _Myt& operator>>(unsigned int& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(long& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(unsigned long& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(float& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(double& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(long double& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(void *& _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; const sentry _Ok(*this); if (_Ok) - {const _Nget& _Fac = _USE(getloc(), _Nget); + {const _Nget& _Fac = _USE(this->getloc(), _Nget); _TRY_IO_BEGIN - _Fac.get(_Iter(rdbuf()), _Iter(0), *this, _St, _X); + _Fac.get(_Iter(this->rdbuf()), _Iter(0), *this, _St, _X); _CATCH_IO_END } setstate(_St); return (*this); } _Myt& operator>>(_Mysb *_Pb) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; bool _Copied = false; const sentry _Ok(*this); if (_Ok && _Pb != 0) {_TRY_IO_BEGIN - int_type _C = rdbuf()->sgetc(); - for (; ; _C = rdbuf()->snextc()) + int_type _C = this->rdbuf()->sgetc(); + for (; ; _C = this->rdbuf()->snextc()) if (_Tr::eq_int_type(_Tr::eof(), _C)) - {_St |= eofbit; + {_St |= ios_base::eofbit; break; } else {_TRY_BEGIN @@ -205,44 +209,44 @@ _CATCH_END _Copied = true; } _CATCH_IO_END } - setstate(!_Copied ? _St | failbit : _St); + setstate(!_Copied ? _St | ios_base::failbit : _St); return (*this); } int_type get() {int_type _C; - iostate _St = goodbit; + iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (!_Ok) _C = _Tr::eof(); else {_TRY_IO_BEGIN - _C = rdbuf()->sbumpc(); + _C = this->rdbuf()->sbumpc(); if (_Tr::eq_int_type(_Tr::eof(), _C)) - _St |= eofbit | failbit; + _St |= ios_base::eofbit | ios_base::failbit; else ++_Chcount; _CATCH_IO_END } setstate(_St); return (_C); } _Myt& get(_E *_S, streamsize _N) - {return (get(_S, _N, widen('\n'))); } + {return (get(_S, _N, this->widen('\n'))); } _Myt& get(_E *_S, streamsize _N, _E _D) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok && 0 < _N) {_TRY_IO_BEGIN - int_type _C = rdbuf()->sgetc(); - for (; 0 < --_N; _C = rdbuf()->snextc()) + int_type _C = this->rdbuf()->sgetc(); + for (; 0 < --_N; _C = this->rdbuf()->snextc()) if (_Tr::eq_int_type(_Tr::eof(), _C)) - {_St |= eofbit; + {_St |= ios_base::eofbit; break; } else if (_Tr::to_char_type(_C) == _D) break; else *_S++ = _Tr::to_char_type(_C), ++_Chcount; _CATCH_IO_END } - setstate(_Chcount == 0 ? _St | failbit : _St); + setstate(_Chcount == 0 ? _St | ios_base::failbit : _St); *_S = _E(0); return (*this); } _Myt& get(_E& _X) @@ -251,17 +255,17 @@ _X = _Tr::to_char_type(_C); return (*this); } _Myt& get(_Mysb& _Sb) - {return (get(_Sb, widen('\n'))); } + {return (get(_Sb, this->widen('\n'))); } _Myt& get(_Mysb& _Sb, _E _D) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok) {_TRY_IO_BEGIN - int_type _C = rdbuf()->sgetc(); - for (; ; _C = rdbuf()->snextc()) + int_type _C = this->rdbuf()->sgetc(); + for (; ; _C = this->rdbuf()->snextc()) if (_Tr::eq_int_type(_Tr::eof(), _C)) - {_St |= eofbit; + {_St |= ios_base::eofbit; break; } else {_TRY_BEGIN @@ -276,39 +280,39 @@ ++_Chcount; } _CATCH_IO_END } if (_Chcount == 0) - _St |= failbit; + _St |= ios_base::failbit; setstate(_St); return (*this); } _Myt& getline(_E *_S, streamsize _N) - {return (getline(_S, _N, widen('\n'))); } + {return (getline(_S, _N, this->widen('\n'))); } _Myt& getline(_E *_S, streamsize _N, _E _D) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok && 0 < _N) {int_type _Di = _Tr::to_int_type(_D); _TRY_IO_BEGIN - int_type _C = rdbuf()->sgetc(); - for (; ; _C = rdbuf()->snextc()) + int_type _C = this->rdbuf()->sgetc(); + for (; ; _C = this->rdbuf()->snextc()) if (_Tr::eq_int_type(_Tr::eof(), _C)) - {_St |= eofbit; + {_St |= ios_base::eofbit; break; } else if (_C == _Di) {++_Chcount; - rdbuf()->stossc(); + this->rdbuf()->stossc(); break; } else if (--_N <= 0) - {_St |= failbit; + {_St |= ios_base::failbit; break; } else {++_Chcount; *_S++ = _Tr::to_char_type(_C); } _CATCH_IO_END } *_S = _E(0); - setstate(_Chcount == 0 ? _St | failbit : _St); + setstate(_Chcount == 0 ? _St | ios_base::failbit : _St); return (*this); } _Myt& ignore(streamsize _N = 1, int_type _Di = _Tr::eof()) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok && 0 < _N) @@ -318,8 +322,8 @@ if (_N != INT_MAX && --_N < 0) break; else if (_Tr::eq_int_type(_Tr::eof(), - _C = rdbuf()->sbumpc())) - {_St |= eofbit; + _C = this->rdbuf()->sbumpc())) + {_St |= ios_base::eofbit; break; } else {++_Chcount; @@ -329,32 +333,32 @@ setstate(_St); return (*this); } _Myt& read(_E *_S, streamsize _N) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok) {_TRY_IO_BEGIN - const streamsize _M = rdbuf()->sgetn(_S, _N); + const streamsize _M = this->rdbuf()->sgetn(_S, _N); _Chcount += _M; if (_M != _N) - _St |= eofbit | failbit; + _St |= ios_base::eofbit | ios_base::failbit; _CATCH_IO_END } setstate(_St); return (*this); } streamsize readsome(_E *_S, streamsize _N) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; int _M; - if (rdbuf() == 0) - _St |= failbit; - else if ((_M = rdbuf()->in_avail()) < 0) - _St |= eofbit; + if (this->rdbuf() == 0) + _St |= this->ios_base::failbit; + else if ((_M = this->rdbuf()->in_avail()) < 0) + _St |= ios_base::eofbit; else if (0 < _M) read(_S, _M < _N ? _M : _N); setstate(_St); return (gcount()); } int_type peek() - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; int_type _C; const sentry _Ok(*this, true); @@ -363,59 +367,59 @@ else {_TRY_IO_BEGIN if (_Tr::eq_int_type(_Tr::eof(), - _C = rdbuf()->sgetc())) - _St |= eofbit; + _C = this->rdbuf()->sgetc())) + _St |= ios_base::eofbit; _CATCH_IO_END } setstate(_St); return (_C); } _Myt& putback(_E _X) - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok) {_TRY_IO_BEGIN if (_Tr::eq_int_type(_Tr::eof(), - rdbuf()->sputbackc(_X))) - _St |= badbit; + this->rdbuf()->sputbackc(_X))) + _St |= ios_base::badbit; _CATCH_IO_END } setstate(_St); return (*this); } _Myt& unget() - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; _Chcount = 0; const sentry _Ok(*this, true); if (_Ok) {_TRY_IO_BEGIN if (_Tr::eq_int_type(_Tr::eof(), - rdbuf()->sungetc())) - _St |= badbit; + this->rdbuf()->sungetc())) + _St |= ios_base::badbit; _CATCH_IO_END } setstate(_St); return (*this); } streamsize gcount() const {return (_Chcount); } int sync() - {iostate _St = goodbit; + {iostate _St = ios_base::goodbit; int _Ans; - if (rdbuf() == 0) + if (this->rdbuf() == 0) _Ans = -1; - else if (rdbuf()->pubsync() == -1) - _St |= badbit, _Ans = -1; + else if (this->rdbuf()->pubsync() == -1) + _St |= ios_base::badbit, _Ans = -1; else _Ans = 0; setstate(_St); return (_Ans); } _Myt& seekg(pos_type _P) - {if (!fail()) - rdbuf()->pubseekpos(_P, in); + {if (!this->fail()) + this->rdbuf()->pubseekpos(_P, ios_base::in); return (*this); } _Myt& seekg(off_type _O, ios_base::seekdir _W) - {if (!fail()) - rdbuf()->pubseekoff(_O, _W, in); + {if (!this->fail()) + this->rdbuf()->pubseekoff(_O, _W, ios_base::in); return (*this); } pos_type tellg() - {if (!fail()) - return (rdbuf()->pubseekoff(0, cur, in)); + {if (!this->fail()) + return (this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in)); else return (streampos(_BADOFF)); } private: @@ -458,12 +462,12 @@ typedef ctype<_E> _Ctype; ios_base::iostate _St = ios_base::goodbit; _E *_S = _X; - const _Myis::sentry _Ok(_I); + const typename _Myis::sentry _Ok(_I); if (_Ok) {const _Ctype& _Fac = _USE(_I.getloc(), _Ctype); _TRY_IO_BEGIN int _N = 0 < _I.width() ? _I.width() : INT_MAX; - _Myis::int_type _C = _I.rdbuf()->sgetc(); + typename _Myis::int_type _C = _I.rdbuf()->sgetc(); for (; 0 < --_N; _C = _I.rdbuf()->snextc()) if (_Tr::eq_int_type(_Tr::eof(), _C)) {_St |= ios_base::eofbit; @@ -482,9 +486,9 @@ basic_istream<_E, _Tr>& __cdecl operator>>( basic_istream<_E, _Tr>& _I, _E& _X) {typedef basic_istream<_E, _Tr> _Myis; - _Myis::int_type _C; - ios_base::iostate _St = ios_base::goodbit; - const _Myis::sentry _Ok(_I); + typename _Myis::int_type _C; + typename ios_base::iostate _St = ios_base::goodbit; + const typename _Myis::sentry _Ok(_I); if (_Ok) {_TRY_IO_BEGIN _C = _I.rdbuf()->sbumpc(); @@ -521,7 +525,7 @@ {typedef basic_istream<_E, _Tr> _Myis; typedef ctype<_E> _Ctype; ios_base::iostate _St = ios_base::goodbit; - const _Myis::sentry _Ok(_I, true); + const typename _Myis::sentry _Ok(_I, true); if (_Ok) {const _Ctype& _Fac = _USE(_I.getloc(), _Ctype); _TRY_IO_BEGIN Added: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/limits =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/limits (rev 0) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/limits 2007-11-12 11:36:40 UTC (rev 1140) @@ -0,0 +1,456 @@ +// limits standard header + +#if _MSC_VER > 1000 +#pragma once +#endif + +#ifndef _LIMITS_ +#define _LIMITS_ +#include <ymath.h> +#include <cfloat> +#include <climits> +#include <cmath> +#include <cwchar> +#include <xstddef> + +#ifdef _MSC_VER +#pragma pack(push,8) +#endif /* _MSC_VER */ +// ASSUMES: +// wraparound 2's complement integer arithmetic w/o traps +// all CHAR_BITs of each byte used by integers +// IEC559 (IEEE 754) floating-point arithmetic +// floating-point errors can trap +// tinyness detected before floating-point rounding +_STD_BEGIN + // ENUM float_round_style +typedef enum { + round_indeterminate = -1, round_toward_zero = 0, + round_to_nearest = 1, round_toward_infinity = 2, + round_toward_neg_infinity = 3} float_round_style; + // STRUCT _Num_base +struct _CRTIMP _Num_base { + _STCONS(bool, has_denorm, false); + _STCONS(bool, has_denorm_loss, false); + _STCONS(bool, has_infinity, false); + _STCONS(bool, has_quiet_NaN, false); + _STCONS(bool, has_signaling_NaN, false); + _STCONS(bool, is_bounded, false); + _STCONS(bool, is_exact, false); + _STCONS(bool, is_iec559, false); + _STCONS(bool, is_integer, false); + _STCONS(bool, is_modulo, false); + _STCONS(bool, is_signed, false); + _STCONS(bool, is_specialized, false); + _STCONS(bool, tinyness_before, false); + _STCONS(bool, traps, false); + _STCONS(float_round_style, round_style, round_toward_zero); + _STCONS(int, digits, 0); + _STCONS(int, digits10, 0); + _STCONS(int, max_exponent, 0); + _STCONS(int, max_exponent10, 0); + _STCONS(int, min_exponent, 0); + _STCONS(int, min_exponent10, 0); + _STCONS(int, radix, 0); + }; +#define __GCCXML_AVOID_MACRO_EXPANSION + // TEMPLATE CLASS numeric_limits +template<class _Ty> class numeric_limits : public _Num_base { +public: + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl epsilon() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl round_error() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl denorm_min() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl infinity() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (_Ty(0)); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (_Ty(0)); } + }; + // STRUCT _Num_int_base +struct _CRTIMP _Num_int_base : public _Num_base { + _STCONS(bool, is_bounded, true); + _STCONS(bool, is_exact, true); + _STCONS(bool, is_integer, true); + _STCONS(bool, is_modulo, true); + _STCONS(bool, is_specialized, true); + _STCONS(int, radix, 2); + }; + // STRUCT _Num_float_base +struct _CRTIMP _Num_float_base : public _Num_base { + _STCONS(bool, has_denorm, true); + _STCONS(bool, has_denorm_loss, true); + _STCONS(bool, has_infinity, true); + _STCONS(bool, has_quiet_NaN, true); + _STCONS(bool, has_signaling_NaN, true); + _STCONS(bool, is_bounded, true); + _STCONS(bool, is_exact, false); + _STCONS(bool, is_iec559, true); + _STCONS(bool, is_integer, false); + _STCONS(bool, is_modulo, false); + _STCONS(bool, is_signed, true); + _STCONS(bool, is_specialized, true); + _STCONS(bool, tinyness_before, true); + _STCONS(bool, traps, true); + _STCONS(float_round_style, round_style, round_to_nearest); + _STCONS(int, radix, FLT_RADIX); + }; + // CLASS numeric_limits<char> +template <> +class _CRTIMP numeric_limits<char> : public _Num_int_base { +public: + typedef char _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (CHAR_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (CHAR_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, CHAR_MIN < 0); + _STCONS(int, digits, CHAR_BIT - (CHAR_MIN < 0 ? 1 : 0)); + _STCONS(int, digits10, (CHAR_BIT - (CHAR_MIN < 0 ? 1 : 0)) + * 301L / 1000); + }; + // CLASS numeric_limits<_Bool> +template<> +class _CRTIMP numeric_limits<_Bool> : public _Num_int_base { +public: + typedef bool _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (false); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (true); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, false); + _STCONS(int, digits, 1); + _STCONS(int, digits10, 0); + }; + // CLASS numeric_limits<signed char> +template<> +class _CRTIMP numeric_limits<signed char> : public _Num_int_base { +public: + typedef signed char _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (SCHAR_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (SCHAR_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT - 1); + _STCONS(int, digits10, (CHAR_BIT - 1) * 301L / 1000); + }; + // CLASS numeric_limits<unsigned char> +template<> +class _CRTIMP numeric_limits<unsigned char> : public _Num_int_base { +public: + typedef unsigned char _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (0); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (UCHAR_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT); + _STCONS(int, digits10, (CHAR_BIT) * 301L / 1000); + }; + // CLASS numeric_limits<short> +template<> +class _CRTIMP numeric_limits<short> : public _Num_int_base { +public: + typedef short _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (SHRT_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (SHRT_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (short) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (short) - 1) + * 301L / 1000); + }; + // CLASS numeric_limits<unsigned short> +template<> +class _CRTIMP numeric_limits<unsigned short> : public _Num_int_base { +public: + typedef unsigned short _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (0); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (USHRT_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned short)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned short)) + * 301L / 1000); + }; + // CLASS numeric_limits<int> +template<> +class _CRTIMP numeric_limits<int> : public _Num_int_base { +public: + typedef int _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (INT_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (INT_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (int) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (int) - 1) + * 301L / 1000); + }; + // CLASS numeric_limits<unsigned int> +template<> +class _CRTIMP numeric_limits<unsigned int> : public _Num_int_base { +public: + typedef unsigned int _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (0); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (UINT_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned int)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned int)) + * 301L / 1000); + }; + // CLASS numeric_limits<long> +template<> +class _CRTIMP numeric_limits<long> : public _Num_int_base { +public: + typedef long _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (LONG_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (LONG_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, true); + _STCONS(int, digits, CHAR_BIT * sizeof (long) - 1); + _STCONS(int, digits10, (CHAR_BIT * sizeof (long) - 1) + * 301L / 1000); + }; + // CLASS numeric_limits<unsigned long> +template<> +class _CRTIMP numeric_limits<unsigned long> : public _Num_int_base { +public: + typedef unsigned long _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (0); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (ULONG_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (0); } + static _Ty __cdecl round_error() _THROW0() + {return (0); } + static _Ty __cdecl denorm_min() _THROW0() + {return (0); } + static _Ty __cdecl infinity() _THROW0() + {return (0); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (0); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (0); } + _STCONS(bool, is_signed, false); + _STCONS(int, digits, CHAR_BIT * sizeof (unsigned long)); + _STCONS(int, digits10, (CHAR_BIT * sizeof (unsigned long)) + * 301L / 1000); + }; + // CLASS numeric_limits<float> +template<> +class _CRTIMP numeric_limits<float> : public _Num_float_base { +public: + typedef float _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (FLT_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (FLT_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (FLT_EPSILON); } + static _Ty __cdecl round_error() _THROW0() + {return (0.5); } + static _Ty __cdecl denorm_min() _THROW0() + {return (_FDenorm._F); } + static _Ty __cdecl infinity() _THROW0() + {return (_FInf._F); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (_FNan._F); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (_FSnan._F); } + _STCONS(int, digits, FLT_MANT_DIG); + _STCONS(int, digits10, FLT_DIG); + _STCONS(int, max_exponent, FLT_MAX_EXP); + _STCONS(int, max_exponent10, FLT_MAX_10_EXP); + _STCONS(int, min_exponent, FLT_MIN_EXP); + _STCONS(int, min_exponent10, FLT_MIN_10_EXP); + }; + // CLASS numeric_limits<double> +template<> +class _CRTIMP numeric_limits<double> : public _Num_float_base { +public: + typedef double _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (DBL_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (DBL_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (DBL_EPSILON); } + static _Ty __cdecl round_error() _THROW0() + {return (0.5); } + static _Ty __cdecl denorm_min() _THROW0() + {return (_Denorm._D); } + static _Ty __cdecl infinity() _THROW0() + {return (_Inf._D); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (_Nan._D); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (_Snan._D); } + _STCONS(int, digits, DBL_MANT_DIG); + _STCONS(int, digits10, DBL_DIG); + _STCONS(int, max_exponent, DBL_MAX_EXP); + _STCONS(int, max_exponent10, DBL_MAX_10_EXP); + _STCONS(int, min_exponent, DBL_MIN_EXP); + _STCONS(int, min_exponent10, DBL_MIN_10_EXP); + }; + // CLASS numeric_limits<long double> +template<> +class _CRTIMP numeric_limits<long double> : public _Num_float_base { +public: + typedef long double _Ty; + static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (LDBL_MIN); } + static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0() + {return (LDBL_MAX); } + static _Ty __cdecl epsilon() _THROW0() + {return (LDBL_EPSILON); } + static _Ty __cdecl round_error() _THROW0() + {return (0.5); } + static _Ty __cdecl denorm_min() _THROW0() + {return (_LDenorm._L); } + static _Ty __cdecl infinity() _THROW0() + {return (_LInf._L); } + static _Ty __cdecl quiet_NaN() _THROW0() + {return (_LNan._L); } + static _Ty __cdecl signaling_NaN() _THROW0() + {return (_LSnan._L); } + _STCONS(int, digits, LDBL_MANT_DIG); + _STCONS(int, digits10, LDBL_DIG); + _STCONS(int, max_exponent, LDBL_MAX_EXP); + _STCONS(int, max_exponent10, LDBL_MAX_10_EXP); + _STCONS(int, min_exponent, LDBL_MIN_EXP); + _STCONS(int, min_exponent10, LDBL_MIN_10_EXP); + }; +_STD_END +#ifdef _MSC_VER +#pragma pack(pop) +#endif /* _MSC_VER */ + +#endif /* _LIMITS_ */ + +/* + * Copyright (c) 1995 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. + */ Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/list =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/list 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/list 2007-11-12 11:36:40 UTC (rev 1140) @@ -98,25 +98,25 @@ iterator(_Nodeptr _P) : const_iterator(_P) {} reference operator*() const - {return (_Acc::_Value(_Ptr)); } + {return (_Acc::_Value(this->_Ptr)); } _Tptr operator->() const {return (&**this); } iterator& operator++() - {_Ptr = _Acc::_Next(_Ptr); + {this->_Ptr = _Acc::_Next(this->_Ptr); return (*this); } iterator operator++(int) {iterator _Tmp = *this; ++*this; return (_Tmp); } iterator& operator--() - {_Ptr = _Acc::_Prev(_Ptr); + {this->_Ptr = _Acc::_Prev(this->_Ptr); return (*this); } iterator operator--(int) {iterator _Tmp = *this; --*this; return (_Tmp); } bool operator==(const iterator& _X) const - {return (_Ptr == _X._Ptr); } + {return (this->_Ptr == _X._Ptr); } bool operator!=(const iterator& _X) const {return (!(*this == _X)); } }; Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/map =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/map 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/map 2007-11-12 11:36:40 UTC (rev 1140) @@ -43,14 +43,14 @@ typedef _A allocator_type; typedef typename _A::reference _Tref; typedef _Tree<_K, value_type, _Kfn, _Pr, _A> _Imp; - typedef _Imp::size_type size_type; - typedef _Imp::difference_type difference_type; - typedef _Imp::reference reference; - typedef _Imp::const_reference const_reference; - typedef _Imp::iterator iterator; - typedef _Imp::const_iterator const_iterator; - typedef _Imp::reverse_iterator reverse_iterator; - typedef _Imp::const_reverse_iterator const_reverse_iterator; + typedef typename _Imp::size_type size_type; + typedef typename _Imp::difference_type difference_type; + typedef typename _Imp::reference reference; + typedef typename _Imp::const_reference const_reference; + typedef typename _Imp::iterator iterator; + typedef typename _Imp::const_iterator const_iterator; + typedef typename _Imp::reverse_iterator reverse_iterator; + typedef typename _Imp::const_reverse_iterator const_reverse_iterator; typedef pair<iterator, bool> _Pairib; typedef pair<iterator, iterator> _Pairii; typedef pair<const_iterator, const_iterator> _Paircc; @@ -93,18 +93,18 @@ {iterator _P = insert(value_type(_Kv, _Ty())).first; return ((*_P).second); } _Pairib insert(const value_type& _X) - {_Imp::_Pairib _Ans = _Tr.insert(_X); + {typename _Imp::_Pairib _Ans = _Tr.insert(_X); return (_Pairib(_Ans.first, _Ans.second)); } iterator insert(iterator _P, const value_type& _X) - {return (_Tr.insert((_Imp::iterator&)_P, _X)); } + {return (_Tr.insert((typename _Imp::iterator&)_P, _X)); } void insert(_It _F, _It _L) {for (; _F != _L; ++_F) _Tr.insert(*_F); } iterator erase(iterator _P) - {return (_Tr.erase((_Imp::iterator&)_P)); } + {return (_Tr.erase((typename _Imp::iterator&)_P)); } iterator erase(iterator _F, iterator _L) - {return (_Tr.erase((_Imp::iterator&)_F, - (_Imp::iterator&)_L)); } + {return (_Tr.erase((typename _Imp::iterator&)_F, + (typename _Imp::iterator&)_L)); } size_type erase(const _K& _Kv) {return (_Tr.erase(_Kv)); } void clear() @@ -193,14 +193,14 @@ typedef _Pr key_compare; typedef _A allocator_type; typedef _Tree<_K, value_type, _Kfn, _Pr, _A> _Imp; - typedef _Imp::size_type size_type; - typedef _Imp::difference_type difference_type; - typedef _Imp::reference reference; - typedef _Imp::const_reference const_reference; - typedef _Imp::iterator iterator; - typedef _Imp::const_iterator const_iterator; - typedef _Imp::reverse_iterator reverse_iterator; - typedef _Imp::const_reverse_iterator const_reverse_iterator; + typedef typename _Imp::size_type size_type; + typedef typename _Imp::difference_type difference_type; + typedef typename _Imp::reference reference; + typedef typename _Imp::const_reference const_reference; + typedef typename _Imp::iterator iterator; + typedef typename _Imp::const_iterator const_iterator; + typedef typename _Imp::reverse_iterator reverse_iterator; + typedef typename _Imp::const_reverse_iterator const_reverse_iterator; typedef pair<iterator, iterator> _Pairii; typedef pair<const_iterator, const_iterator> _Paircc; explicit multimap(const _Pr& _Pred = _Pr(), @@ -242,15 +242,15 @@ iterator insert(const value_type& _X) {return (_Tr.insert(_X).first); } iterator insert(iterator _P, const value_type& _X) - {return (_Tr.insert((_Imp::iterator&)_P, _X)); } + {return (_Tr.insert((typename _Imp::iterator&)_P, _X)); } void insert(_It _F, _It _L) {for (; _F != _L; ++_F) _Tr.insert(*_F); } iterator erase(iterator _P) - {return (_Tr.erase((_Imp::iterator&)_P)); } + {return (_Tr.erase((typename _Imp::iterator&)_P)); } iterator erase(iterator _F, iterator _L) - {return (_Tr.erase((_Imp::iterator&)_F, - (_Imp::iterator&)_L)); } + {return (_Tr.erase((typename _Imp::iterator&)_F, + (typename _Imp::iterator&)_L)); } size_type erase(const _K& _Kv = _K()) {return (_Tr.erase(_Kv)); } void clear() Modified: gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/ostream =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/ostream 2007-11-12 10:33:26 UTC (rev 1139) +++ gccxml_bin/v09/win32/share/gccxml-0.9/Vc6/Include/ostream 2007-11-12 11:36:40 UTC (rev 1140) @@ -14,7 +14,7 @@ // I/O exception macros #define _TRY_IO_BEGIN _TRY_BEGIN #define _CATCH_IO_END _CATCH_ALL \ - setstate(ios_base::badbit, true); _CATCH_END + this->setstate(ios_base::badbit, true); _CATCH_END #define _CATCH_IO_(x) _CATCH_ALL \ (x).setstate(ios_base::badbit, true); _CATCH_END _STD_BEGIN @@ -27,12 +27,17 @@ typedef basic_streambuf<_E, _Tr> _Mysb; typedef ostreambuf_iterator<_E, _Tr> _Iter; typedef num_put<_E, _Iter> _Nput; + typedef typename _Myios::pos_type pos_type; + typedef typename _Myios::off_type off_type; + typedef typename _Myios::iostate iostate; + typedef typename _Myios::fmtf... [truncated message content] |
From: <rom...@us...> - 2007-11-12 10:33:23
|
Revision: 1139 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1139&view=rev Author: roman_yakovenko Date: 2007-11-12 02:33:26 -0800 (Mon, 12 Nov 2007) Log Message: ----------- updating to gccxml to version 1.118 Modified Paths: -------------- gccxml_bin/v09/win32/bin/gccxml.exe gccxml_bin/v09/win32/bin/gccxml_cc1plus.exe gccxml_bin/v09/win32/bin/gccxml_vcconfig.exe gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config gccxml_bin/v09/win32/share/man/man1/gccxml.1 Modified: gccxml_bin/v09/win32/bin/gccxml.exe =================================================================== (Binary files differ) Modified: gccxml_bin/v09/win32/bin/gccxml_cc1plus.exe =================================================================== (Binary files differ) Modified: gccxml_bin/v09/win32/bin/gccxml_vcconfig.exe =================================================================== (Binary files differ) Modified: gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config =================================================================== --- gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config 2007-11-11 18:23:28 UTC (rev 1138) +++ gccxml_bin/v09/win32/share/gccxml-0.9/gccxml_config 2007-11-12 10:33:26 UTC (rev 1139) @@ -1,2 +1,2 @@ -GCCXML_COMPILER="cl" +GCCXML_COMPILER="D:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe" GCCXML_CXXFLAGS=" /DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR" Modified: gccxml_bin/v09/win32/share/man/man1/gccxml.1 =================================================================== --- gccxml_bin/v09/win32/share/man/man1/gccxml.1 2007-11-11 18:23:28 UTC (rev 1138) +++ gccxml_bin/v09/win32/share/man/man1/gccxml.1 2007-11-12 10:33:26 UTC (rev 1139) @@ -1,4 +1,4 @@ -.TH GCC-XML 1 "November 11, 2007" "GCC-XML 0.9.0" +.TH GCC-XML 1 "November 12, 2007" "GCC-XML 0.9.0" .SH NAME .TP .B gccxml This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-11 18:23:30
|
Revision: 1138 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1138&view=rev Author: roman_yakovenko Date: 2007-11-11 10:23:28 -0800 (Sun, 11 Nov 2007) Log Message: ----------- replacing volatile files with real one Added Paths: ----------- pygccxml_dev/gccxml-0.9-upgrade/types.7.xml pygccxml_dev/gccxml-0.9-upgrade/types.9.xml pygccxml_dev/gccxml-0.9-upgrade/types.h pygccxml_dev/gccxml-0.9-upgrade/types.h.diff Added: pygccxml_dev/gccxml-0.9-upgrade/types.7.xml =================================================================== --- pygccxml_dev/gccxml-0.9-upgrade/types.7.xml (rev 0) +++ pygccxml_dev/gccxml-0.9-upgrade/types.7.xml 2007-11-11 18:23:28 UTC (rev 1138) @@ -0,0 +1,8086 @@ +<?xml version="1.0"?> +<GCC_XML cvs_revision="1.114"> + <Namespace id="_1" name="::" members="_3 _5 _6 _7 _8 _9 _10 _11 _12 _13 _14 _15 _16 _17 _18 _20 _22 _24 _25 _26 _27 _29 _30 _31 _32 _34 _35 _36 _38 _39 _40 _41 _43 _44 _45 _46 _47 _48 _49 _50 _51 _52 _53 _54 _55 _56 _57 _58 _59 _60 _61 _62 _63 _64 _65 _66 _67 _68 _69 _70 _71 _72 _73 _74 _75 _76 _77 _78 _79 _80 _81 _82 _83 _84 _85 _86 _87 _88 _89 _90 _91 _92 _93 _94 _95 _96 _97 _98 _99 _100 _101 _102 _103 _104 _105 _106 _107 _108 _109 _110 _111 _112 _113 _114 _115 _116 _117 _118 _119 _120 _121 _122 _123 _124 _125 _126 _127 _128 _129 _130 _131 _132 _133 _134 _135 _136 _137 _138 _139 _140 _141 _142 _143 _144 _145 _146 _147 _149 _150 _151 _152 _153 _154 _155 _156 _157 _158 _159 _160 _161 _162 _163 _164 _165 _166 _167 _168 _169 _170 _171 _172 _173 _174 _175 _176 _177 _178 _179 _180 _181 _182 _183 _184 _185 _186 _187 _188 _189 _190 _191 _192 _193 _194 _195 _196 _197 _198 _199 _200 _201 _202 _203 _204 _205 _206 _207 _208 _209 _210 _211 _212 _213 _214 _216 _217 _218 _219 _220 _221 _222 _223 _224 _225 _226 _227 _228 _229 _230 _231 _232 _233 _234 _235 _236 _237 _238 _239 _240 _241 _242 _243 _244 _245 _246 _247 _248 _249 _250 _251 _252 _253 _254 _255 _256 _257 _258 _259 _260 _261 _262 _263 _264 _265 _266 _267 _268 _269 _270 _271 _272 _273 _274 _275 _276 _277 _278 _279 _280 _281 _282 _283 _284 _285 _286 _287 _288 _289 _290 _291 _292 _293 _294 _295 _296 _297 _298 _299 _300 _301 _302 _303 _304 _305 _306 _307 _308 _309 _310 _311 _312 _313 _314 _315 _316 _317 _318 _319 _320 _321 _322 _323 _324 _325 _326 _327 _328 _329 _330 _331 _332 _333 _334 _335 _336 _337 _338 _339 _340 _341 _342 _343 _344 _345 _346 _347 _348 _349 _350 _351 _352 _353 _354 _355 _356 _357 _358 _359 _360 _361 _362 _363 _364 _365 _366 _367 _368 _369 _370 _371 _372 _373 _374 _375 _376 _377 _378 _379 _380 _381 _382 _383 _384 _385 _386 _387 _388 _389 _390 _391 _392 _393 _394 _395 _396 _397 _398 _399 _400 _401 _402 _403 _404 _405 _406 _407 _408 _409 _410 _411 _412 _413 _414 _415 _416 _417 _418 _419 _420 _421 _423 _422 _424 _425 _426 _427 _428 _429 _430 _431 _432 _433 _434 _435 _436 _437 _438 _439 _440 _441 _442 _443 _444 _445 _446 _447 _448 _449 _450 _451 _452 _453 _454 _455 _456 _457 _458 _459 _460 _461 _462 _463 _464 _465 _466 _467 _468 _469 _470 _471 _472 _473 _474 _475 _476 _477 _478 _480 _481 _482 _483 _484 _485 _486 _487 _488 _489 _490 _491 _492 _493 _494 _495 _496 _497 _498 _499 _500 _501 _502 _503 _504 _505 _506 _507 _508 _509 _510 _511 _512 _513 _514 _515 _516 _517 _518 _519 _520 _521 _522 _523 _524 _525 _526 _527 _528 _529 _530 _531 _532 _533 _534 _535 _536 _538 _539 _540 _541 _542 _543 _544 _545 _546 _547 _548 _549 _550 _551 _552 _553 _554 _555 _556 _557 _559 _560 _561 _562 _563 _564 _565 _566 _567 _568 _569 _570 _571 _572 _573 _574 _575 _576 _577 _578 _579 _580 _581 _582 _583 _584 _585 _586 _587 _588 _589 _590 _591 _592 _593 _594 _595 _596 _597 _598 _599 _600 _601 _602 _603 _604 _605 _606 _607 _608 _609 _610 _611 _612 _613 _614 _615 _616 _617 _618 _619 _620 _621 _622 _623 _624 _625 _626 _627 _628 _629 _630 _631 _632 _633 _634 _635 _636 _637 _638 _639 _640 _641 _642 _643 _644 _645 _646 _647 _648 _649 _650 _651 _652 _653 _654 _655 _656 _657 _658 _659 _660 _662 _664 _666 _667 _668 _669 _670 _671 _672 _673 _674 _675 _676 _677 _678 _679 _680 _681 _682 _683 _684 _685 _686 _687 _688 _689 _691 _690 _693 _695 _697 _699 _700 _701 _702 _703 _704 _705 _706 _707 _708 _709 _711 _712 _713 _714 _715 _716 _717 _718 _720 _721 _723 _725 _727 _729 _731 _733 _735 _737 _739 _740 _741 _742 _743 _744 _745 _661 _663 _148 _746 _748 _749 _747 _750 _751 _752 _753 _755 _756 _757 _758 _759 _760 _761 _762 _763 _764 _765 _766 _767 _768 _769 _770 _771 _772 _773 _774 _775 _776 _777 _778 _779 _780 _781 _782 _783 _784 _785 _786 _787 _788 _789 _791 _792 _793 _794 _795 _796 _797 _798 _799 _800 _801 _802 _803 _804 _805 _806 _807 _808 _809 _810 _811 _812 _813 _814 _815 _816 _817 _818 _819 _820 _821 _822 _823 _824 _825 _826 _827 _828 _829 _830 _831 _832 _833 _834 _835 _836 _837 _838 _839 _840 _841 _842 _843 _844 _845 _846 _847 _848 _849 _850 _851 _852 _853 _854 _855 _215 _857 _856 _858 _859 _860 _861 _862 _863 _864 _866 _867 _868 _869 _870 _871 _872 _873 _874 _875 _876 _877 _879 _878 _880 _881 _882 _883 _884 _885 _886 _887 _888 _889 _890 _891 _892 _893 _894 _895 _896 _897 _898 _899 _900 _901 _902 _903 _904 _905 _906 _907 _908 _909 _910 _911 _912 _913 _914 _916 _917 _918 _919 _920 _921 _922 _923 _924 _925 _927 _928 _929 _930 _931 _932 _933 _934 _935 _936 _937 _938 _939 _940 _941 _942 _943 _944 _945 _946 _947 _948 _915 _949 _950 _951 _952 _953 _954 _955 _956 _957 _958 _959 _960 _961 _962 _963 _964 _965 _966 _967 _968 _969 _970 _971 _972 _973 _974 _975 _976 _977 _978 _979 _980 _981 _982 _983 _984 _985 _986 _987 _988 _989 _990 _991 _992 _993 _994 _995 _996 _997 _998 _999 _1000 _1001 _1002 _1003 _1004 _1005 _1006 _1007 _1008 _1009 _1010 _1011 _1012 _1013 _1014 _1015 _1016 _1017 _1018 _1019 _1020 _1021 _1022 _1023 _1024 _1025 _1026 _1027 _1028 _1029 _1030 _1031 _1032 _1033 _1034 _1035 _1036 _1037 _1038 _1039 _1040 _1041 _1042 _1043 _1044 _1045 _1046 _1047 _1048 _1049 _1050 _1051 _1052 _1053 _1054 _1055 _1056 _1057 _1058 _1059 _1060 _1061 _1062 _1063 _1064 _1065 _1066 _1067 _1068 _1069 _1070 _1071 _1072 _1073 _1074 _1075 _1076 _1077 _1078 _1079 _1080 _1081 _1082 _1083 _1084 _1085 _1086 _1087 _1088 _1089 _1090 _1091 _1092 _1093 _1094 _1095 _1096 _1097 _1098 _1099 _1100 _1101 _1102 _1103 _1104 _1105 _1106 _1107 _1108 _1109 _1110 _1111 _1112 _1113 _1114 _1115 _1116 _1117 _1118 _1119 _1120 _1121 _1122 _1123 _1124 _1125 _1126 _1127 _1128 _1129 _1130 _1131 _1132 _1133 _1134 _1135 _1136 _1137 _1138 _1139 _1140 _1141 _1142 _1143 _1144 _1145 _1146 _1147 _1148 _1149 _1150 _1151 _1152 _1153 _1154 _1155 _1156 _1157 _1158 _1159 _1160 _1161 _1162 _1163 _1164 _1165 _1166 _1167 _1168 _1169 _1170 _1171 _1172 _1173 _1174 _1175 _1176 _1177 _1178 _1179 _1180 _1181 _1182 _1183 _1184 _1185 _1186 _1187 _1188 _1189 _1190 _1191 _1192 _1193 _1194 _1195 _1196 _1197 _1198 _1199 _1200 _1201 _1202 _1203 _1204 _1205 _1206 _1207 _1208 _1209 _1210 _1211 _1212 _1213 _1214 _1215 _1216 _1217 _1218 _1219 _1220 _1221 _1222 _1223 " mangled="_Z2::" demangled="::"/> + <Namespace id="_2" name="std" context="_1" members="_1224 _1225 _1250 _1251 _1252 _1253 _1254 _1255 _1257 _1258 _1259 _1260 _1261 _1262 _1263 _1264 _1265 _1266 _1267 _1268 _1269 _1270 _1273 _1274 _1275 _1293 _1294 _1295 _1296 _1297 _1317 _1319 _1321 _1323 _1325 _1327 _1329 _1331 _1333 _1335 _1337 _1339 _1341 _1343 _1345 _1347 _1349 _1351 _1353 _1355 _1357 _1359 _1361 _1363 _1365 _1367 _1368 _1369 _1370 _1371 _1372 _1373 _1374 _1375 _1376 _1377 _1378 _1379 _1380 _1381 _1382 _1384 _1385 _1386 _1387 _1388 _1389 _1390 _1391 _1392 _1393 _1394 _1395 _1396 _1397 _1398 _1399 _1400 _1401 _1402 _1404 _1406 _1414 " mangled="_Z3std" demangled="std"/> + <Struct id="_3" name="mem_var_str_t" context="_1" mangled="13mem_var_str_t" demangled="mem_var_str_t" location="f0:8" file="f0" line="8" artificial="1" size="8" align="8" members="_1415 _1416 _1417 _1418 " bases=""/> + <FundamentalType id="_4" name="int" size="32" align="32"/> + <Typedef id="_5" name="_Atomic_word" type="_4" context="_1" location="f1:33" file="f1" line="33"/> + <OperatorFunction id="_6" name="delete []" returns="_710" throw="" context="_1" mangled="_ZdaPvS_" demangled="operator delete[](void*, void*)" location="f2:99" file="f2" line="99" endline="99" inline="1"> + <Argument type="_558" location="f2:99" file="f2" line="99"/> + <Argument type="_558" location="f2:99" file="f2" line="99"/> + </OperatorFunction> + <OperatorFunction id="_7" name="delete" returns="_710" throw="" context="_1" mangled="_ZdlPvS_" demangled="operator delete(void*, void*)" location="f2:98" file="f2" line="98" endline="98" inline="1"> + <Argument type="_558" location="f2:98" file="f2" line="98"/> + <Argument type="_558" location="f2:98" file="f2" line="98"/> + </OperatorFunction> + <OperatorFunction id="_8" name="new []" returns="_558" throw="" context="_1" mangled="_ZnajPv" demangled="operator new[](unsigned, void*)" location="f2:95" file="f2" line="95" endline="95" inline="1"> + <Argument type="_1051" location="f2:95" file="f2" line="95"/> + <Argument name="__p" type="_558" location="f2:95" file="f2" line="95"/> + </OperatorFunction> + <OperatorFunction id="_9" name="new" returns="_558" throw="" context="_1" mangled="_ZnwjPv" demangled="operator new(unsigned, void*)" location="f2:94" file="f2" line="94" endline="94" inline="1"> + <Argument type="_1051" location="f2:94" file="f2" line="94"/> + <Argument name="__p" type="_558" location="f2:94" file="f2" line="94"/> + </OperatorFunction> + <OperatorFunction id="_10" name="delete []" returns="_710" throw="" context="_1" mangled="_ZdaPvRKSt9nothrow_t" demangled="operator delete[](void*, std::nothrow_t const&)" location="f2:91" file="f2" line="91" extern="1"> + <Argument type="_558" location="f2:91" file="f2" line="91"/> + <Argument type="_1419" location="f2:91" file="f2" line="91"/> + </OperatorFunction> + <OperatorFunction id="_11" name="delete" returns="_710" throw="" context="_1" mangled="_ZdlPvRKSt9nothrow_t" demangled="operator delete(void*, std::nothrow_t const&)" location="f2:90" file="f2" line="90" extern="1"> + <Argument type="_558" location="f2:90" file="f2" line="90"/> + <Argument type="_1419" location="f2:90" file="f2" line="90"/> + </OperatorFunction> + <OperatorFunction id="_12" name="new []" returns="_558" throw="" context="_1" mangled="_ZnajRKSt9nothrow_t" demangled="operator new[](unsigned, std::nothrow_t const&)" location="f2:89" file="f2" line="89" extern="1"> + <Argument type="_1051" location="f2:89" file="f2" line="89"/> + <Argument type="_1419" location="f2:89" file="f2" line="89"/> + </OperatorFunction> + <OperatorFunction id="_13" name="new" returns="_558" throw="" context="_1" mangled="_ZnwjRKSt9nothrow_t" demangled="operator new(unsigned, std::nothrow_t const&)" location="f2:88" file="f2" line="88" extern="1"> + <Argument type="_1051" location="f2:88" file="f2" line="88"/> + <Argument type="_1419" location="f2:88" file="f2" line="88"/> + </OperatorFunction> + <Variable id="_14" name="_ZTISt9bad_alloc" type="_1420c" context="_1" location="f2:56" file="f2" line="56" extern="1" artificial="1"/> + <Variable id="_15" name="_ZTISt13bad_exception" type="_1420c" context="_1" location="f3:67" file="f3" line="67" extern="1" artificial="1"/> + <Variable id="_16" name="_ZTISt9exception" type="_1422c" context="_1" location="f3:55" file="f3" line="55" extern="1" artificial="1"/> + <Struct id="_17" name="__false_type" context="_1" mangled="12__false_type" demangled="__false_type" location="f4:94" file="f4" line="94" artificial="1" size="8" align="8" members="_1424 _1425 " bases=""/> + <Struct id="_18" name="__true_type" context="_1" mangled="11__true_type" demangled="__true_type" location="f4:93" file="f4" line="93" artificial="1" size="8" align="8" members="_1426 _1427 " bases=""/> + <FundamentalType id="_19" name="long long unsigned int" size="64" align="64"/> + <Typedef id="_20" name="uintmax_t" type="_19" context="_1" location="f5:141" file="f5" line="141"/> + <FundamentalType id="_21" name="long long int" size="64" align="64"/> + <Typedef id="_22" name="intmax_t" type="_21" context="_1" location="f5:139" file="f5" line="139"/> + <FundamentalType id="_23" name="unsigned int" size="32" align="32"/> + <Typedef id="_24" name="uintptr_t" type="_23" context="_1" location="f5:129" file="f5" line="129"/> + <Typedef id="_25" name="uint_fast64_t" type="_19" context="_1" location="f5:113" file="f5" line="113"/> + <Typedef id="_26" name="uint_fast32_t" type="_23" context="_1" location="f5:111" file="f5" line="111"/> + <Typedef id="_27" name="uint_fast16_t" type="_23" context="_1" location="f5:110" file="f5" line="110"/> + <FundamentalType id="_28" name="unsigned char" size="8" align="8"/> + <Typedef id="_29" name="uint_fast8_t" type="_28" context="_1" location="f5:104" file="f5" line="104"/> + <Typedef id="_30" name="int_fast64_t" type="_21" context="_1" location="f5:100" file="f5" line="100"/> + <Typedef id="_31" name="int_fast32_t" type="_4" context="_1" location="f5:98" file="f5" line="98"/> + <Typedef id="_32" name="int_fast16_t" type="_4" context="_1" location="f5:97" file="f5" line="97"/> + <FundamentalType id="_33" name="signed char" size="8" align="8"/> + <Typedef id="_34" name="int_fast8_t" type="_33" context="_1" location="f5:91" file="f5" line="91"/> + <Typedef id="_35" name="uint_least64_t" type="_19" context="_1" location="f5:84" file="f5" line="84"/> + <Typedef id="_36" name="uint_least32_t" type="_23" context="_1" location="f5:79" file="f5" line="79"/> + <FundamentalType id="_37" name="short unsigned int" size="16" align="16"/> + <Typedef id="_38" name="uint_least16_t" type="_37" context="_1" location="f5:78" file="f5" line="78"/> + <Typedef id="_39" name="uint_least8_t" type="_28" context="_1" location="f5:77" file="f5" line="77"/> + <Typedef id="_40" name="int_least64_t" type="_21" context="_1" location="f5:73" file="f5" line="73"/> + <Typedef id="_41" name="int_least32_t" type="_4" context="_1" location="f5:68" file="f5" line="68"/> + <FundamentalType id="_42" name="short int" size="16" align="16"/> + <Typedef id="_43" name="int_least16_t" type="_42" context="_1" location="f5:67" file="f5" line="67"/> + <Typedef id="_44" name="int_least8_t" type="_33" context="_1" location="f5:66" file="f5" line="66"/> + <Typedef id="_45" name="uint64_t" type="_19" context="_1" location="f5:59" file="f5" line="59"/> + <Typedef id="_46" name="uint32_t" type="_23" context="_1" location="f5:52" file="f5" line="52"/> + <Typedef id="_47" name="uint16_t" type="_37" context="_1" location="f5:50" file="f5" line="50"/> + <Typedef id="_48" name="uint8_t" type="_28" context="_1" location="f5:49" file="f5" line="49"/> + <Function id="_49" name="wcsftime_l" returns="_1051" throw="" context="_1" location="f6:835" file="f6" line="835" extern="1"> + <Argument name="__s" type="_1428r" location="f6:835" file="f6" line="835"/> + <Argument name="__maxsize" type="_1051" location="f6:835" file="f6" line="835"/> + <Argument name="__format" type="_1430r" location="f6:835" file="f6" line="835"/> + <Argument name="__tp" type="_1432r" location="f6:835" file="f6" line="835"/> + <Argument name="__loc" type="_1041" location="f6:835" file="f6" line="835"/> + </Function> + <Function id="_50" name="wcsftime" returns="_1051" throw="" context="_1" location="f6:824" file="f6" line="824" extern="1"> + <Argument name="__s" type="_1428r" location="f6:824" file="f6" line="824"/> + <Argument name="__maxsize" type="_1051" location="f6:824" file="f6" line="824"/> + <Argument name="__format" type="_1430r" location="f6:824" file="f6" line="824"/> + <Argument name="__tp" type="_1432r" location="f6:824" file="f6" line="824"/> + </Function> + <Function id="_51" name="fputws_unlocked" returns="_4" context="_1" location="f6:814" file="f6" line="814" extern="1"> + <Argument name="__ws" type="_1430r" location="f6:814" file="f6" line="814"/> + <Argument name="__stream" type="_1434r" location="f6:814" file="f6" line="814"/> + </Function> + <Function id="_52" name="fgetws_unlocked" returns="_1428" context="_1" location="f6:805" file="f6" line="805" extern="1"> + <Argument name="__ws" type="_1428r" location="f6:805" file="f6" line="805"/> + <Argument name="__n" type="_4" location="f6:805" file="f6" line="805"/> + <Argument name="__stream" type="_1434r" location="f6:805" file="f6" line="805"/> + </Function> + <Function id="_53" name="putwchar_unlocked" returns="_746" context="_1" location="f6:795" file="f6" line="795" extern="1"> + <Argument name="__wc" type="_1436" location="f6:795" file="f6" line="795"/> + </Function> + <Function id="_54" name="putwc_unlocked" returns="_746" context="_1" location="f6:794" file="f6" line="794" extern="1"> + <Argument name="__wc" type="_1436" location="f6:794" file="f6" line="794"/> + <Argument name="__stream" type="_1434" location="f6:794" file="f6" line="794"/> + </Function> + <Function id="_55" name="fputwc_unlocked" returns="_746" context="_1" location="f6:785" file="f6" line="785" extern="1"> + <Argument name="__wc" type="_1436" location="f6:785" file="f6" line="785"/> + <Argument name="__stream" type="_1434" location="f6:785" file="f6" line="785"/> + </Function> + <Function id="_56" name="fgetwc_unlocked" returns="_746" context="_1" location="f6:777" file="f6" line="777" extern="1"> + <Argument name="__stream" type="_1434" location="f6:777" file="f6" line="777"/> + </Function> + <Function id="_57" name="getwchar_unlocked" returns="_746" context="_1" location="f6:769" file="f6" line="769" extern="1"/> + <Function id="_58" name="getwc_unlocked" returns="_746" context="_1" location="f6:768" file="f6" line="768" extern="1"> + <Argument name="__stream" type="_1434" location="f6:768" file="f6" line="768"/> + </Function> + <Function id="_59" name="ungetwc" returns="_746" context="_1" location="f6:756" file="f6" line="756" extern="1"> + <Argument name="__wc" type="_746" location="f6:756" file="f6" line="756"/> + <Argument name="__stream" type="_1434" location="f6:756" file="f6" line="756"/> + </Function> + <Function id="_60" name="fputws" returns="_4" context="_1" location="f6:749" file="f6" line="749" extern="1"> + <Argument name="__ws" type="_1430r" location="f6:749" file="f6" line="749"/> + <Argument name="__stream" type="_1434r" location="f6:749" file="f6" line="749"/> + </Function> + <Function id="_61" name="fgetws" returns="_1428" context="_1" location="f6:742" file="f6" line="742" extern="1"> + <Argument name="__ws" type="_1428r" location="f6:742" file="f6" line="742"/> + <Argument name="__n" type="_4" location="f6:742" file="f6" line="742"/> + <Argument name="__stream" type="_1434r" location="f6:742" file="f6" line="742"/> + </Function> + <Function id="_62" name="putwchar" returns="_746" context="_1" location="f6:733" file="f6" line="733" extern="1"> + <Argument name="__wc" type="_1436" location="f6:733" file="f6" line="733"/> + </Function> + <Function id="_63" name="putwc" returns="_746" context="_1" location="f6:727" file="f6" line="727" extern="1"> + <Argument name="__wc" type="_1436" location="f6:727" file="f6" line="727"/> + <Argument name="__stream" type="_1434" location="f6:727" file="f6" line="727"/> + </Function> + <Function id="_64" name="fputwc" returns="_746" context="_1" location="f6:726" file="f6" line="726" extern="1"> + <Argument name="__wc" type="_1436" location="f6:726" file="f6" line="726"/> + <Argument name="__stream" type="_1434" location="f6:726" file="f6" line="726"/> + </Function> + <Function id="_65" name="getwchar" returns="_746" context="_1" location="f6:719" file="f6" line="719" extern="1"/> + <Function id="_66" name="getwc" returns="_746" context="_1" location="f6:713" file="f6" line="713" extern="1"> + <Argument name="__stream" type="_1434" location="f6:713" file="f6" line="713"/> + </Function> + <Function id="_67" name="fgetwc" returns="_746" context="_1" location="f6:712" file="f6" line="712" extern="1"> + <Argument name="__stream" type="_1434" location="f6:712" file="f6" line="712"/> + </Function> + <Function id="_68" name="vswscanf" returns="_4" throw="" context="_1" location="f6:701" file="f6" line="701" extern="1"> + <Argument name="__s" type="_1430r" location="f6:701" file="f6" line="701"/> + <Argument name="__format" type="_1430r" location="f6:701" file="f6" line="701"/> + <Argument name="__arg" type="_713" location="f6:701" file="f6" line="701"/> + </Function> + <Function id="_69" name="vwscanf" returns="_4" context="_1" location="f6:696" file="f6" line="696" extern="1"> + <Argument name="__format" type="_1430r" location="f6:696" file="f6" line="696"/> + <Argument name="__arg" type="_713" location="f6:696" file="f6" line="696"/> + </Function> + <Function id="_70" name="vfwscanf" returns="_4" context="_1" location="f6:689" file="f6" line="689" extern="1"> + <Argument name="__s" type="_1434r" location="f6:689" file="f6" line="689"/> + <Argument name="__format" type="_1430r" location="f6:689" file="f6" line="689"/> + <Argument name="__arg" type="_713" location="f6:689" file="f6" line="689"/> + </Function> + <Function id="_71" name="swscanf" returns="_4" throw="" context="_1" location="f6:674" file="f6" line="674" extern="1"> + <Argument name="__s" type="_1430r" location="f6:674" file="f6" line="674"/> + <Argument name="__format" type="_1430r" location="f6:674" file="f6" line="674"/> + <Ellipsis/> + </Function> + <Function id="_72" name="wscanf" returns="_4" context="_1" location="f6:670" file="f6" line="670" extern="1"> + <Argument name="__format" type="_1430r" location="f6:670" file="f6" line="670"/> + <Ellipsis/> + </Function> + <Function id="_73" name="fwscanf" returns="_4" context="_1" location="f6:664" file="f6" line="664" extern="1"> + <Argument name="__stream" type="_1434r" location="f6:664" file="f6" line="664"/> + <Argument name="__format" type="_1430r" location="f6:664" file="f6" line="664"/> + <Ellipsis/> + </Function> + <Function id="_74" name="vswprintf" returns="_4" throw="" context="_1" location="f6:655" file="f6" line="655" extern="1"> + <Argument name="__s" type="_1428r" location="f6:655" file="f6" line="655"/> + <Argument name="__n" type="_1051" location="f6:655" file="f6" line="655"/> + <Argument name="__format" type="_1430r" location="f6:655" file="f6" line="655"/> + <Argument name="__arg" type="_713" location="f6:655" file="f6" line="655"/> + </Function> + <Function id="_75" name="vwprintf" returns="_4" context="_1" location="f6:649" file="f6" line="649" extern="1"> + <Argument name="__format" type="_1430r" location="f6:649" file="f6" line="649"/> + <Argument name="__arg" type="_713" location="f6:649" file="f6" line="649"/> + </Function> + <Function id="_76" name="vfwprintf" returns="_4" context="_1" location="f6:642" file="f6" line="642" extern="1"> + <Argument name="__s" type="_1434r" location="f6:642" file="f6" line="642"/> + <Argument name="__format" type="_1430r" location="f6:642" file="f6" line="642"/> + <Argument name="__arg" type="_713" location="f6:642" file="f6" line="642"/> + </Function> + <Function id="_77" name="swprintf" returns="_4" throw="" context="_1" location="f6:633" file="f6" line="633" extern="1"> + <Argument name="__s" type="_1428r" location="f6:633" file="f6" line="633"/> + <Argument name="__n" type="_1051" location="f6:633" file="f6" line="633"/> + <Argument name="__format" type="_1430r" location="f6:633" file="f6" line="633"/> + <Ellipsis/> + </Function> + <Function id="_78" name="wprintf" returns="_4" context="_1" location="f6:629" file="f6" line="629" extern="1"> + <Argument name="__format" type="_1430r" location="f6:629" file="f6" line="629"/> + <Ellipsis/> + </Function> + <Function id="_79" name="fwprintf" returns="_4" context="_1" location="f6:623" file="f6" line="623" extern="1"> + <Argument name="__stream" type="_1434r" location="f6:623" file="f6" line="623"/> + <Argument name="__format" type="_1430r" location="f6:623" file="f6" line="623"/> + <Ellipsis/> + </Function> + <Function id="_80" name="fwide" returns="_4" throw="" context="_1" location="f6:614" file="f6" line="614" extern="1"> + <Argument name="__fp" type="_1434" location="f6:614" file="f6" line="614"/> + <Argument name="__mode" type="_4" location="f6:614" file="f6" line="614"/> + </Function> + <Function id="_81" name="open_wmemstream" returns="_1434" throw="" context="_1" location="f6:607" file="f6" line="607" extern="1"> + <Argument name="__bufloc" type="_1437" location="f6:607" file="f6" line="607"/> + <Argument name="__sizeloc" type="_1438" location="f6:607" file="f6" line="607"/> + </Function> + <Function id="_82" name="wcpncpy" returns="_1428" throw="" context="_1" location="f6:598" file="f6" line="598" extern="1"> + <Argument name="__dest" type="_1428" location="f6:598" file="f6" line="598"/> + <Argument name="__src" type="_1430" location="f6:598" file="f6" line="598"/> + <Argument name="__n" type="_1051" location="f6:598" file="f6" line="598"/> + </Function> + <Function id="_83" name="wcpcpy" returns="_1428" throw="" context="_1" location="f6:593" file="f6" line="593" extern="1"> + <Argument name="__dest" type="_1428" location="f6:593" file="f6" line="593"/> + <Argument name="__src" type="_1430" location="f6:593" file="f6" line="593"/> + </Function> + <Function id="_84" name="__wcstold_internal" returns="_1439" throw="" context="_1" location="f6:510" file="f6" line="510" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:510" file="f6" line="510"/> + <Argument name="__endptr" type="_1437r" location="f6:510" file="f6" line="510"/> + <Argument name="__group" type="_4" location="f6:510" file="f6" line="510"/> + </Function> + <Function id="_85" name="__wcstof_internal" returns="_1441" throw="" context="_1" location="f6:507" file="f6" line="507" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:507" file="f6" line="507"/> + <Argument name="__endptr" type="_1437r" location="f6:507" file="f6" line="507"/> + <Argument name="__group" type="_4" location="f6:507" file="f6" line="507"/> + </Function> + <Function id="_86" name="__wcstod_internal" returns="_1442" throw="" context="_1" location="f6:504" file="f6" line="504" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:504" file="f6" line="504"/> + <Argument name="__endptr" type="_1437r" location="f6:504" file="f6" line="504"/> + <Argument name="__group" type="_4" location="f6:504" file="f6" line="504"/> + </Function> + <Function id="_87" name="wcstold_l" returns="_1439" throw="" context="_1" location="f6:496" file="f6" line="496" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:496" file="f6" line="496"/> + <Argument name="__endptr" type="_1437r" location="f6:496" file="f6" line="496"/> + <Argument name="__loc" type="_1041" location="f6:496" file="f6" line="496"/> + </Function> + <Function id="_88" name="wcstof_l" returns="_1441" throw="" context="_1" location="f6:492" file="f6" line="492" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:492" file="f6" line="492"/> + <Argument name="__endptr" type="_1437r" location="f6:492" file="f6" line="492"/> + <Argument name="__loc" type="_1041" location="f6:492" file="f6" line="492"/> + </Function> + <Function id="_89" name="wcstod_l" returns="_1442" throw="" context="_1" location="f6:488" file="f6" line="488" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:488" file="f6" line="488"/> + <Argument name="__endptr" type="_1437r" location="f6:488" file="f6" line="488"/> + <Argument name="__loc" type="_1041" location="f6:488" file="f6" line="488"/> + </Function> + <Function id="_90" name="wcstoull_l" returns="_19" throw="" context="_1" location="f6:484" file="f6" line="484" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:484" file="f6" line="484"/> + <Argument name="__endptr" type="_1437r" location="f6:484" file="f6" line="484"/> + <Argument name="__base" type="_4" location="f6:484" file="f6" line="484"/> + <Argument name="__loc" type="_1041" location="f6:484" file="f6" line="484"/> + </Function> + <Function id="_91" name="wcstoll_l" returns="_21" throw="" context="_1" location="f6:478" file="f6" line="478" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:478" file="f6" line="478"/> + <Argument name="__endptr" type="_1437r" location="f6:478" file="f6" line="478"/> + <Argument name="__base" type="_4" location="f6:478" file="f6" line="478"/> + <Argument name="__loc" type="_1041" location="f6:478" file="f6" line="478"/> + </Function> + <Function id="_92" name="wcstoul_l" returns="_537" throw="" context="_1" location="f6:473" file="f6" line="473" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:473" file="f6" line="473"/> + <Argument name="__endptr" type="_1437r" location="f6:473" file="f6" line="473"/> + <Argument name="__base" type="_4" location="f6:473" file="f6" line="473"/> + <Argument name="__loc" type="_1041" location="f6:473" file="f6" line="473"/> + </Function> + <Function id="_93" name="wcstol_l" returns="_865" throw="" context="_1" location="f6:469" file="f6" line="469" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:469" file="f6" line="469"/> + <Argument name="__endptr" type="_1437r" location="f6:469" file="f6" line="469"/> + <Argument name="__base" type="_4" location="f6:469" file="f6" line="469"/> + <Argument name="__loc" type="_1041" location="f6:469" file="f6" line="469"/> + </Function> + <Function id="_94" name="wcstouq" returns="_19" throw="" context="_1" location="f6:446" file="f6" line="446" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:446" file="f6" line="446"/> + <Argument name="__endptr" type="_1437r" location="f6:446" file="f6" line="446"/> + <Argument name="__base" type="_4" location="f6:446" file="f6" line="446"/> + </Function> + <Function id="_95" name="wcstoq" returns="_21" throw="" context="_1" location="f6:439" file="f6" line="439" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:439" file="f6" line="439"/> + <Argument name="__endptr" type="_1437r" location="f6:439" file="f6" line="439"/> + <Argument name="__base" type="_4" location="f6:439" file="f6" line="439"/> + </Function> + <Function id="_96" name="wcstoull" returns="_19" throw="" context="_1" location="f6:429" file="f6" line="429" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:429" file="f6" line="429"/> + <Argument name="__endptr" type="_1437r" location="f6:429" file="f6" line="429"/> + <Argument name="__base" type="_4" location="f6:429" file="f6" line="429"/> + </Function> + <Function id="_97" name="wcstoll" returns="_21" throw="" context="_1" location="f6:422" file="f6" line="422" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:422" file="f6" line="422"/> + <Argument name="__endptr" type="_1437r" location="f6:422" file="f6" line="422"/> + <Argument name="__base" type="_4" location="f6:422" file="f6" line="422"/> + </Function> + <Function id="_98" name="wcstoul" returns="_537" throw="" context="_1" location="f6:414" file="f6" line="414" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:414" file="f6" line="414"/> + <Argument name="__endptr" type="_1437r" location="f6:414" file="f6" line="414"/> + <Argument name="__base" type="_4" location="f6:414" file="f6" line="414"/> + </Function> + <Function id="_99" name="wcstol" returns="_865" throw="" context="_1" location="f6:408" file="f6" line="408" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:408" file="f6" line="408"/> + <Argument name="__endptr" type="_1437r" location="f6:408" file="f6" line="408"/> + <Argument name="__base" type="_4" location="f6:408" file="f6" line="408"/> + </Function> + <Function id="_100" name="wcstold" returns="_1439" throw="" context="_1" location="f6:401" file="f6" line="401" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:401" file="f6" line="401"/> + <Argument name="__endptr" type="_1437r" location="f6:401" file="f6" line="401"/> + </Function> + <Function id="_101" name="wcstof" returns="_1441" throw="" context="_1" location="f6:399" file="f6" line="399" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:399" file="f6" line="399"/> + <Argument name="__endptr" type="_1437r" location="f6:399" file="f6" line="399"/> + </Function> + <Function id="_102" name="wcstod" returns="_1442" throw="" context="_1" location="f6:394" file="f6" line="394" extern="1"> + <Argument name="__nptr" type="_1430r" location="f6:394" file="f6" line="394"/> + <Argument name="__endptr" type="_1437r" location="f6:394" file="f6" line="394"/> + </Function> + <Function id="_103" name="wcswidth" returns="_4" throw="" context="_1" location="f6:386" file="f6" line="386" extern="1"> + <Argument name="__s" type="_1430" location="f6:386" file="f6" line="386"/> + <Argument name="__n" type="_1051" location="f6:386" file="f6" line="386"/> + </Function> + <Function id="_104" name="wcwidth" returns="_4" throw="" context="_1" location="f6:382" file="f6" line="382" extern="1"> + <Argument name="__c" type="_1436" location="f6:382" file="f6" line="382"/> + </Function> + <Function id="_105" name="wcsnrtombs" returns="_1051" throw="" context="_1" location="f6:375" file="f6" line="375" extern="1"> + <Argument name="__dst" type="_665r" location="f6:375" file="f6" line="375"/> + <Argument name="__src" type="_1444r" location="f6:375" file="f6" line="375"/> + <Argument name="__nwc" type="_1051" location="f6:375" file="f6" line="375"/> + <Argument name="__len" type="_1051" location="f6:375" file="f6" line="375"/> + <Argument name="__ps" type="_1446r" location="f6:375" file="f6" line="375"/> + </Function> + <Function id="_106" name="mbsnrtowcs" returns="_1051" throw="" context="_1" location="f6:368" file="f6" line="368" extern="1"> + <Argument name="__dst" type="_1428r" location="f6:368" file="f6" line="368"/> + <Argument name="__src" type="_1448r" location="f6:368" file="f6" line="368"/> + <Argument name="__nmc" type="_1051" location="f6:368" file="f6" line="368"/> + <Argument name="__len" type="_1051" location="f6:368" file="f6" line="368"/> + <Argument name="__ps" type="_1446r" location="f6:368" file="f6" line="368"/> + </Function> + <Function id="_107" name="wcsrtombs" returns="_1051" throw="" context="_1" location="f6:359" file="f6" line="359" extern="1"> + <Argument name="__dst" type="_665r" location="f6:359" file="f6" line="359"/> + <Argument name="__src" type="_1444r" location="f6:359" file="f6" line="359"/> + <Argument name="__len" type="_1051" location="f6:359" file="f6" line="359"/> + <Argument name="__ps" type="_1446r" location="f6:359" file="f6" line="359"/> + </Function> + <Function id="_108" name="mbsrtowcs" returns="_1051" throw="" context="_1" location="f6:353" file="f6" line="353" extern="1"> + <Argument name="__dst" type="_1428r" location="f6:353" file="f6" line="353"/> + <Argument name="__src" type="_1448r" location="f6:353" file="f6" line="353"/> + <Argument name="__len" type="_1051" location="f6:353" file="f6" line="353"/> + <Argument name="__ps" type="_1446r" location="f6:353" file="f6" line="353"/> + </Function> + <Function id="_109" name="mbrlen" returns="_1051" throw="" context="_1" location="f6:318" file="f6" line="318" extern="1"> + <Argument name="__s" type="_1450r" location="f6:318" file="f6" line="318"/> + <Argument name="__n" type="_1051" location="f6:318" file="f6" line="318"/> + <Argument name="__ps" type="_1446r" location="f6:318" file="f6" line="318"/> + </Function> + <Function id="_110" name="__mbrlen" returns="_1051" throw="" context="_1" location="f6:316" file="f6" line="316" extern="1"> + <Argument name="__s" type="_1450r" location="f6:316" file="f6" line="316"/> + <Argument name="__n" type="_1051" location="f6:316" file="f6" line="316"/> + <Argument name="__ps" type="_1446r" location="f6:316" file="f6" line="316"/> + </Function> + <Function id="_111" name="wcrtomb" returns="_1051" throw="" context="_1" location="f6:312" file="f6" line="312" extern="1"> + <Argument name="__s" type="_665r" location="f6:312" file="f6" line="312"/> + <Argument name="__wc" type="_1436" location="f6:312" file="f6" line="312"/> + <Argument name="__ps" type="_1446r" location="f6:312" file="f6" line="312"/> + </Function> + <Function id="_112" name="mbrtowc" returns="_1051" throw="" context="_1" location="f6:308" file="f6" line="308" extern="1"> + <Argument name="__pwc" type="_1428r" location="f6:308" file="f6" line="308"/> + <Argument name="__s" type="_1450r" location="f6:308" file="f6" line="308"/> + <Argument name="__n" type="_1051" location="f6:308" file="f6" line="308"/> + <Argument name="__p" type="_1446" location="f6:308" file="f6" line="308"/> + </Function> + <Function id="_113" name="mbsinit" returns="_4" throw="" context="_1" location="f6:302" file="f6" line="302" extern="1" attributes="__pure__"> + <Argument name="__ps" type="_1452" location="f6:302" file="f6" line="302"/> + </Function> + <Function id="_114" name="wctob" returns="_4" throw="" context="_1" location="f6:298" file="f6" line="298" extern="1"> + <Argument name="__c" type="_746" location="f6:298" file="f6" line="298"/> + </Function> + <Function id="_115" name="btowc" returns="_746" throw="" context="_1" location="f6:294" file="f6" line="294" extern="1"> + <Argument name="__c" type="_4" location="f6:294" file="f6" line="294"/> + </Function> + <Function id="_116" name="wmempcpy" returns="_1428" throw="" context="_1" location="f6:287" file="f6" line="287" extern="1"> + <Argument name="__s1" type="_1428r" location="f6:287" file="f6" line="287"/> + <Argument name="__s2" type="_1430r" location="f6:287" file="f6" line="287"/> + <Argument name="__n" type="_1051" location="f6:287" file="f6" line="287"/> + </Function> + <Function id="_117" name="wmemset" returns="_1428" throw="" context="_1" location="f6:279" file="f6" line="279" extern="1"> + <Argument name="__s" type="_1428" location="f6:279" file="f6" line="279"/> + <Argument name="__c" type="_1436" location="f6:279" file="f6" line="279"/> + <Argument name="__n" type="_1051" location="f6:279" file="f6" line="279"/> + </Function> + <Function id="_118" name="wmemmove" returns="_1428" throw="" context="_1" location="f6:276" file="f6" line="276" extern="1"> + <Argument name="__s1" type="_1428" location="f6:276" file="f6" line="276"/> + <Argument name="__s2" type="_1430" location="f6:276" file="f6" line="276"/> + <Argument name="__n" type="_1051" location="f6:276" file="f6" line="276"/> + </Function> + <Function id="_119" name="wmemcpy" returns="_1428" throw="" context="_1" location="f6:271" file="f6" line="271" extern="1"> + <Argument name="__s1" type="_1428r" location="f6:271" file="f6" line="271"/> + <Argument name="__s2" type="_1430r" location="f6:271" file="f6" line="271"/> + <Argument name="__n" type="_1051" location="f6:271" file="f6" line="271"/> + </Function> + <Function id="_120" name="wmemcmp" returns="_4" throw="" context="_1" location="f6:267" file="f6" line="267" extern="1" attributes="__pure__"> + <Argument name="__s1" type="_1430r" location="f6:267" file="f6" line="267"/> + <Argument name="__s2" type="_1430r" location="f6:267" file="f6" line="267"/> + <Argument name="__n" type="_1051" location="f6:267" file="f6" line="267"/> + </Function> + <Function id="_121" name="wmemchr" returns="_1428" throw="" context="_1" location="f6:262" file="f6" line="262" extern="1" attributes="__pure__"> + <Argument name="__s" type="_1430" location="f6:262" file="f6" line="262"/> + <Argument name="__c" type="_1436" location="f6:262" file="f6" line="262"/> + <Argument name="__n" type="_1051" location="f6:262" file="f6" line="262"/> + </Function> + <Function id="_122" name="wcsnlen" returns="_1051" throw="" context="_1" location="f6:255" file="f6" line="255" extern="1" attributes="__pure__"> + <Argument name="__s" type="_1430" location="f6:255" file="f6" line="255"/> + <Argument name="__maxlen" type="_1051" location="f6:255" file="f6" line="255"/> + </Function> + <Function id="_123" name="wcswcs" returns="_1428" throw="" context="_1" location="f6:249" file="f6" line="249" extern="1" attributes="__pure__"> + <Argument name="__haystack" type="_1430" location="f6:249" file="f6" line="249"/> + <Argument name="__needle" type="_1430" location="f6:249" file="f6" line="249"/> + </Function> + <Function id="_124" name="wcslen" returns="_1051" throw="" context="_1" location="f6:243" file="f6" line="243" extern="1" attributes="__pure__"> + <Argument name="__s" type="_1430" location="f6:243" file="f6" line="243"/> + </Function> + <Function id="_125" name="wcstok" returns="_1428" throw="" context="_1" location="f6:240" file="f6" line="240" extern="1"> + <Argument name="__s" type="_1428r" location="f6:240" file="f6" line="240"/> + <Argument name="__delim" type="_1430r" location="f6:240" file="f6" line="240"/> + <Argument name="__ptr" type="_1437r" location="f6:240" file="f6" line="240"/> + </Function> + <Function id="_126" name="wcsstr" returns="_1428" throw="" context="_1" location="f6:235" file="f6" line="235" extern="1" attributes="__pure__"> + <Argument name="__haystack" type="_1430" location="f6:235" file="f6" line="235"/> + <Argument name="__needle" type="_1430" location="f6:235" file="f6" line="235"/> + </Function> + <Function id="_127" name="wcspbrk" returns="_1428" throw="" context="_1" location="f6:232" file="f6" line="232" extern="1" attributes="__pure__"> + <Argument name="__wcs" type="_1430" location="f6:232" file="f6" line="232"/> + <Argument name="__accept" type="_1430" location="f6:232" file="f6" line="232"/> + </Function> + <Function id="_128" name="wcsspn" returns="_1051" throw="" context="_1" location="f6:229" file="f6" line="229" extern="1" attributes="__pure__"> + <Argument name="__wcs" type="_1430" location="f6:229" file="f6" line="229"/> + <Argument name="__accept" type="_1430" location="f6:229" file="f6" line="229"/> + </Function> + <Function id="_129" name="wcscspn" returns="_1051" throw="" context="_1" location="f6:225" file="f6" line="225" extern="1" attributes="__pure__"> + <Argument name="__wcs" type="_1430" location="f6:225" file="f6" line="225"/> + <Argument name="__reject" type="_1430" location="f6:225" file="f6" line="225"/> + </Function> + <Function id="_130" name="wcschrnul" returns="_1428" throw="" context="_1" location="f6:218" file="f6" line="218" extern="1" attributes="__pure__"> + <Argument name="__s" type="_1430" location="f6:218" file="f6" line="218"/> + <Argument name="__wc" type="_1436" location="f6:218" file="f6" line="218"/> + </Function> + <Function id="_131" name="wcsrchr" returns="_1428" throw="" context="_1" location="f6:211" file="f6" line="211" extern="1" attributes="__pure__"> + <Argument name="__wcs" type="_1430" location="f6:211" file="f6" line="211"/> + <Argument name="__wc" type="_1436" location="f6:211" file="f6" line="211"/> + </Function> + <Function id="_132" name="wcschr" returns="_1428" throw="" context="_1" location="f6:208" file="f6" line="208" extern="1" attributes="__pure__"> + <Argument name="__wcs" type="_1430" location="f6:208" file="f6" line="208"/> + <Argument name="__wc" type="_1436" location="f6:208" file="f6" line="208"/> + </Function> + <Function id="_133" name="wcsdup" returns="_1428" throw="" context="_1" location="f6:202" file="f6" line="202" extern="1" attributes="__malloc__"> + <Argument name="__s" type="_1430" location="f6:202" file="f6" line="202"/> + </Function> + <Function id="_134" name="wcsxfrm_l" returns="_1051" throw="" context="_1" location="f6:199" file="f6" line="199" extern="1"> + <Argument name="__s1" type="_1428" location="f6:199" file="f6" line="199"/> + <Argument name="__s2" type="_1430" location="f6:199" file="f6" line="199"/> + <Argument name="__n" type="_1051" location="f6:199" file="f6" line="199"/> + <Argument name="__loc" type="_1041" location="f6:199" file="f6" line="199"/> + </Function> + <Function id="_135" name="wcscoll_l" returns="_4" throw="" context="_1" location="f6:193" file="f6" line="193" extern="1"> + <Argument name="__s1" type="_1430" location="f6:193" file="f6" line="193"/> + <Argument name="__s2" type="_1430" location="f6:193" file="f6" line="193"/> + <Argument name="__loc" type="_1041" location="f6:193" file="f6" line="193"/> + </Function> + <Function id="_136" name="wcsxfrm" returns="_1051" throw="" context="_1" location="f6:183" file="f6" line="183" extern="1"> + <Argument name="__s1" type="_1428r" location="f6:183" file="f6" line="183"/> + <Argument name="__s2" type="_1430r" location="f6:183" file="f6" line="183"/> + <Argument name="__n" type="_1051" location="f6:183" file="f6" line="183"/> + </Function> + <Function id="_137" name="wcscoll" returns="_4" throw="" context="_1" location="f6:178" file="f6" line="178" extern="1"> + <Argument name="__s1" type="_1430" location="f6:178" file="f6" line="178"/> + <Argument name="__s2" type="_1430" location="f6:178" file="f6" line="178"/> + </Function> + <Function id="_138" name="wcsncasecmp_l" returns="_4" throw="" context="_1" location="f6:172" file="f6" line="172" extern="1"> + <Argument name="__s1" type="_1430" location="f6:172" file="f6" line="172"/> + <Argument name="__s2" type="_1430" location="f6:172" file="f6" line="172"/> + <Argument name="__n" type="_1051" location="f6:172" file="f6" line="172"/> + <Argument name="__loc" type="_1041" location="f6:172" file="f6" line="172"/> + </Function> + <Function id="_139" name="wcscasecmp_l" returns="_4" throw="" context="_1" location="f6:169" file="f6" line="169" extern="1"> + <Argument name="__s1" type="_1430" location="f6:169" file="f6" line="169"/> + <Argument name="__s2" type="_1430" location="f6:169" file="f6" line="169"/> + <Argument name="__loc" type="_1041" location="f6:169" file="f6" line="169"/> + </Function> + <Function id="_140" name="wcsncasecmp" returns="_4" throw="" context="_1" location="f6:162" file="f6" line="162" extern="1"> + <Argument name="__s1" type="_1430" location="f6:162" file="f6" line="162"/> + <Argument name="__s2" type="_1430" location="f6:162" file="f6" line="162"/> + <Argument name="__n" type="_1051" location="f6:162" file="f6" line="162"/> + </Function> + <Function id="_141" name="wcscasecmp" returns="_4" throw="" context="_1" location="f6:158" file="f6" line="158" extern="1"> + <Argument name="__s1" type="_1430" location="f6:158" file="f6" line="158"/> + <Argument name="__s2" type="_1430" location="f6:158" file="f6" line="158"/> + </Function> + <Function id="_142" name="wcsncmp" returns="_4" throw="" context="_1" location="f6:153" file="f6" line="153" extern="1" attributes="__pure__"> + <Argument name="__s1" type="_1430" location="f6:153" file="f6" line="153"/> + <Argument name="__s2" type="_1430" location="f6:153" file="f6" line="153"/> + <Argument name="__n" type="_1051" location="f6:153" file="f6" line="153"/> + </Function> + <Function id="_143" name="wcscmp" returns="_4" throw="" context="_1" location="f6:150" file="f6" line="150" extern="1" attributes="__pure__"> + <Argument name="__s1" type="_1430" location="f6:150" file="f6" line="150"/> + <Argument name="__s2" type="_1430" location="f6:150" file="f6" line="150"/> + </Function> + <Function id="_144" name="wcsncat" returns="_1428" throw="" context="_1" location="f6:146" file="f6" line="146" extern="1"> + <Argument name="__dest" type="_1428r" location="f6:146" file="f6" line="146"/> + <Argument name="__src" type="_1430r" location="f6:146" file="f6" line="146"/> + <Argument name="__n" type="_1051" location="f6:146" file="f6" line="146"/> + </Function> + <Function id="_145" name="wcscat" returns="_1428" throw="" context="_1" location="f6:142" file="f6" line="142" extern="1"> + <Argument name="__dest" type="_1428r" location="f6:142" file="f6" line="142"/> + <Argument name="__src" type="_1430r" location="f6:142" file="f6" line="142"/> + </Function> + <Function id="_146" name="wcsncpy" returns="_1428" throw="" context="_1" location="f6:138" file="f6" line="138" extern="1"> + <Argument name="__dest" type="_1428r" location="f6:138" file="f6" line="138"/> + <Argument name="__src" type="_1430r" location="f6:138" file="f6" line="138"/> + <Argument name="__n" type="_1051" location="f6:138" file="f6" line="138"/> + </Function> + <Function id="_147" name="wcscpy" returns="_1428" throw="" context="_1" location="f6:134" file="f6" line="134" extern="1"> + <Argument name="__dest" type="_1428r" location="f6:134" file="f6" line="134"/> + <Argument name="__src" type="_1430r" location="f6:134" file="f6" line="134"/> + </Function> + <Struct id="_148" name="__mbstate_t" context="_1" mangled="11__mbstate_t" demangled="__mbstate_t" location="f6:84" file="f6" line="84" size="64" align="32" members="_1453 _1454 _1455 _1456 _1457 " bases=""/> + <Typedef id="_149" name="mbstate_t" type="_148" context="_1" location="f6:95" file="f6" line="95"/> + <Function id="_150" name="toupper_l" returns="_4" throw="" context="_1" location="f7:268" file="f7" line="268" extern="1"> + <Argument name="__c" type="_4" location="f7:268" file="f7" line="268"/> + <Argument name="__l" type="_1041" location="f7:268" file="f7" line="268"/> + </Function> + <Function id="_151" name="__toupper_l" returns="_4" throw="" context="_1" location="f7:267" file="f7" line="267" extern="1"> + <Argument name="__c" type="_4" location="f7:267" file="f7" line="267"/> + <Argument name="__l" type="_1041" location="f7:267" file="f7" line="267"/> + </Function> + <Function id="_152" name="tolower_l" returns="_4" throw="" context="_1" location="f7:264" file="f7" line="264" extern="1"> + <Argument name="__c" type="_4" location="f7:264" file="f7" line="264"/> + <Argument name="__l" type="_1041" location="f7:264" file="f7" line="264"/> + </Function> + <Function id="_153" name="__tolower_l" returns="_4" throw="" context="_1" location="f7:263" file="f7" line="263" extern="1"> + <Argument name="__c" type="_4" location="f7:263" file="f7" line="263"/> + <Argument name="__l" type="_1041" location="f7:263" file="f7" line="263"/> + </Function> + <Function id="_154" name="isblank_l" returns="_4" throw="" context="_1" location="f7:259" file="f7" line="259" extern="1"> + <Argument type="_4" location="f7:259" file="f7" line="259"/> + <Argument type="_1041" location="f7:259" file="f7" line="259"/> + </Function> + <Function id="_155" name="isxdigit_l" returns="_4" throw="" context="_1" location="f7:257" file="f7" line="257" extern="1"> + <Argument type="_4" location="f7:257" file="f7" line="257"/> + <Argument type="_1041" location="f7:257" file="f7" line="257"/> + </Function> + <Function id="_156" name="isupper_l" returns="_4" throw="" context="_1" location="f7:256" file="f7" line="256" extern="1"> + <Argument type="_4" location="f7:256" file="f7" line="256"/> + <Argument type="_1041" location="f7:256" file="f7" line="256"/> + </Function> + <Function id="_157" name="isspace_l" returns="_4" throw="" context="_1" location="f7:255" file="f7" line="255" extern="1"> + <Argument type="_4" location="f7:255" file="f7" line="255"/> + <Argument type="_1041" location="f7:255" file="f7" line="255"/> + </Function> + <Function id="_158" name="ispunct_l" returns="_4" throw="" context="_1" location="f7:254" file="f7" line="254" extern="1"> + <Argument type="_4" location="f7:254" file="f7" line="254"/> + <Argument type="_1041" location="f7:254" file="f7" line="254"/> + </Function> + <Function id="_159" name="isprint_l" returns="_4" throw="" context="_1" location="f7:253" file="f7" line="253" extern="1"> + <Argument type="_4" location="f7:253" file="f7" line="253"/> + <Argument type="_1041" location="f7:253" file="f7" line="253"/> + </Function> + <Function id="_160" name="isgraph_l" returns="_4" throw="" context="_1" location="f7:252" file="f7" line="252" extern="1"> + <Argument type="_4" location="f7:252" file="f7" line="252"/> + <Argument type="_1041" location="f7:252" file="f7" line="252"/> + </Function> + <Function id="_161" name="islower_l" returns="_4" throw="" context="_1" location="f7:251" file="f7" line="251" extern="1"> + <Argument type="_4" location="f7:251" file="f7" line="251"/> + <Argument type="_1041" location="f7:251" file="f7" line="251"/> + </Function> + <Function id="_162" name="isdigit_l" returns="_4" throw="" context="_1" location="f7:250" file="f7" line="250" extern="1"> + <Argument type="_4" location="f7:250" file="f7" line="250"/> + <Argument type="_1041" location="f7:250" file="f7" line="250"/> + </Function> + <Function id="_163" name="iscntrl_l" returns="_4" throw="" context="_1" location="f7:249" file="f7" line="249" extern="1"> + <Argument type="_4" location="f7:249" file="f7" line="249"/> + <Argument type="_1041" location="f7:249" file="f7" line="249"/> + </Function> + <Function id="_164" name="isalpha_l" returns="_4" throw="" context="_1" location="f7:248" file="f7" line="248" extern="1"> + <Argument type="_4" location="f7:248" file="f7" line="248"/> + <Argument type="_1041" location="f7:248" file="f7" line="248"/> + </Function> + <Function id="_165" name="isalnum_l" returns="_4" throw="" context="_1" location="f7:247" file="f7" line="247" extern="1"> + <Argument type="_4" location="f7:247" file="f7" line="247"/> + <Argument type="_1041" location="f7:247" file="f7" line="247"/> + </Function> + <Function id="_166" name="_tolower" returns="_4" throw="" context="_1" location="f7:151" file="f7" line="151" extern="1"> + <Argument type="_4" location="f7:151" file="f7" line="151"/> + </Function> + <Function id="_167" name="_toupper" returns="_4" throw="" context="_1" location="f7:150" file="f7" line="150" extern="1"> + <Argument type="_4" location="f7:150" file="f7" line="150"/> + </Function> + <Function id="_168" name="toascii" returns="_4" throw="" context="_1" location="f7:146" file="f7" line="146" extern="1"> + <Argument name="__c" type="_4" location="f7:146" file="f7" line="146"/> + </Function> + <Function id="_169" name="isascii" returns="_4" throw="" context="_1" location="f7:142" file="f7" line="142" extern="1"> + <Argument name="__c" type="_4" location="f7:142" file="f7" line="142"/> + </Function> + <Function id="_170" name="isctype" returns="_4" throw="" context="_1" location="f7:135" file="f7" line="135" extern="1"> + <Argument name="__c" type="_4" location="f7:135" file="f7" line="135"/> + <Argument name="__mask" type="_4" location="f7:135" file="f7" line="135"/> + </Function> + <Function id="_171" name="isblank" returns="_4" throw="" context="_1" location="f7:128" file="f7" line="128" extern="1"> + <Argument type="_4" location="f7:128" file="f7" line="128"/> + </Function> + <Function id="_172" name="toupper" returns="_4" throw="" context="_1" location="f7:119" file="f7" line="119" extern="1"> + <Argument name="__c" type="_4" location="f7:119" file="f7" line="119"/> + </Function> + <Function id="_173" name="tolower" returns="_4" throw="" context="_1" location="f7:116" file="f7" line="116" extern="1"> + <Argument name="__c" type="_4" location="f7:116" file="f7" line="116"/> + </Function> + <Function id="_174" name="isxdigit" returns="_4" throw="" context="_1" location="f7:112" file="f7" line="112" extern="1"> + <Argument type="_4" location="f7:112" file="f7" line="112"/> + </Function> + <Function id="_175" name="isupper" returns="_4" throw="" context="_1" location="f7:111" file="f7" line="111" extern="1"> + <Argument type="_4" location="f7:111" file="f7" line="111"/> + </Function> + <Function id="_176" name="isspace" returns="_4" throw="" context="_1" location="f7:110" file="f7" line="110" extern="1"> + <Argument type="_4" location="f7:110" file="f7" line="110"/> + </Function> + <Function id="_177" name="ispunct" returns="_4" throw="" context="_1" location="f7:109" file="f7" line="109" extern="1"> + <Argument type="_4" location="f7:109" file="f7" line="109"/> + </Function> + <Function id="_178" name="isprint" returns="_4" throw="" context="_1" location="f7:108" file="f7" line="108" extern="1"> + <Argument type="_4" location="f7:108" file="f7" line="108"/> + </Function> + <Function id="_179" name="isgraph" returns="_4" throw="" context="_1" location="f7:107" file="f7" line="107" extern="1"> + <Argument type="_4" location="f7:107" file="f7" line="107"/> + </Function> + <Function id="_180" name="islower" returns="_4" throw="" context="_1" location="f7:106" file="f7" line="106" extern="1"> + <Argument type="_4" location="f7:106" file="f7" line="106"/> + </Function> + <Function id="_181" name="isdigit" returns="_4" throw="" context="_1" location="f7:105" file="f7" line="105" extern="1"> + <Argument type="_4" location="f7:105" file="f7" line="105"/> + </Function> + <Function id="_182" name="iscntrl" returns="_4" throw="" context="_1" location="f7:104" file="f7" line="104" extern="1"> + <Argument type="_4" location="f7:104" file="f7" line="104"/> + </Function> + <Function id="_183" name="isalpha" returns="_4" throw="" context="_1" location="f7:103" file="f7" line="103" extern="1"> + <Argument type="_4" location="f7:103" file="f7" line="103"/> + </Function> + <Function id="_184" name="isalnum" returns="_4" throw="" context="_1" location="f7:102" file="f7" line="102" extern="1"> + <Argument type="_4" location="f7:102" file="f7" line="102"/> + </Function> + <Function id="_185" name="__ctype_toupper_loc" returns="_1458" context="_1" location="f7:86" file="f7" line="86" extern="1" attributes="const"/> + <Function id="_186" name="__ctype_tolower_loc" returns="_1458" context="_1" location="f7:84" file="f7" line="84" extern="1" attributes="const"/> + <Function id="_187" name="__ctype_b_loc" returns="_1459" context="_1" location="f7:82" file="f7" line="82" extern="1" attributes="const"/> + <Enumeration id="_188" name="._47" context="_1" location="f7:49" file="f7" line="49" artificial="1" size="32" align="32"> + <EnumValue name="_ISupper" init="256"/> + <EnumValue name="_ISlower" init="512"/> + <EnumValue name="_ISalpha" init="1024"/> + <EnumValue name="_ISdigit" init="2048"/> + <EnumValue name="_ISxdigit" init="4096"/> + <EnumValue name="_ISspace" init="8192"/> + <EnumValue name="_ISprint" init="16384"/> + <EnumValue name="_ISgraph" init="32768"/> + <EnumValue name="_ISblank" init="1"/> + <EnumValue name="_IScntrl" init="2"/> + <EnumValue name="_ISpunct" init="4"/> + <EnumValue name="_ISalnum" init="8"/> + </Enumeration> + <Function id="_189" name="__gthread_recursive_mutex_unlock" returns="_4" context="_1" mangled="_Z32__gthread_recursive_mutex_unlockP15pthread_mutex_t" demangled="__gthread_recursive_mutex_unlock(pthread_mutex_t*)" location="f8:612" file="f8" line="612" endline="614" inline="1"> + <Argument name="mutex" type="_1460" location="f8:612" file="f8" line="612"/> + </Function> + <Function id="_190" name="__gthread_recursive_mutex_trylock" returns="_4" context="_1" mangled="_Z33__gthread_recursive_mutex_trylockP15pthread_mutex_t" demangled="__gthread_recursive_mutex_trylock(pthread_mutex_t*)" location="f8:606" file="f8" line="606" endline="608" inline="1"> + <Argument name="mutex" type="_1460" location="f8:606" file="f8" line="606"/> + </Function> + <Function id="_191" name="__gthread_recursive_mutex_lock" returns="_4" context="_1" mangled="_Z30__gthread_recursive_mutex_lockP15pthread_mutex_t" demangled="__gthread_recursive_mutex_lock(pthread_mutex_t*)" location="f8:600" file="f8" line="600" endline="602" inline="1"> + <Argument name="mutex" type="_1460" location="f8:600" file="f8" line="600"/> + </Function> + <Function id="_192" name="__gthread_mutex_unlock" returns="_4" context="_1" mangled="_Z22__gthread_mutex_unlockP15pthread_mutex_t" demangled="__gthread_mutex_unlock(pthread_mutex_t*)" location="f8:569" file="f8" line="569" endline="574" inline="1"> + <Argument name="mutex... [truncated message content] |
From: <rom...@us...> - 2007-11-11 18:14:50
|
Revision: 1137 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1137&view=rev Author: roman_yakovenko Date: 2007-11-11 10:14:54 -0800 (Sun, 11 Nov 2007) Log Message: ----------- fixing a mistake Removed Paths: ------------- pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.7.xml pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.9.xml pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.h Deleted: pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.7.xml =================================================================== --- pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.7.xml 2007-11-11 06:57:12 UTC (rev 1136) +++ pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.7.xml 2007-11-11 18:14:54 UTC (rev 1137) @@ -1,414 +0,0 @@ -<?xml version="1.0"?> -<GCC_XML cvs_revision="1.114"> - <Namespace id="_1" name="::" members="_3 _4 _5 _6 _7 _8 _9 _10 _11 _12 _13 _14 _15 _16 _17 _18 _19 _20 _21 _22 _23 _24 _25 _26 _27 _28 _29 _30 _31 _32 _33 _34 _35 _36 _37 _38 _39 _40 _41 _42 _43 _44 _45 _46 _47 _48 _49 _50 _51 _52 _53 _54 _55 _56 _57 _58 _59 _60 _61 _62 _63 _64 _65 _66 _67 _68 _69 _70 _71 _72 _73 _74 _75 _76 _77 _78 _79 _80 _81 _82 _83 _84 _85 _86 _87 _88 _89 _90 _91 _92 _93 _94 _95 _96 _97 _98 _99 _100 _101 _102 _103 _104 _105 _106 _107 _108 _109 _110 _111 _112 _113 _114 _115 _116 _117 _118 _119 _120 _121 _122 _123 " mangled="_Z2::" demangled="::"/> - <Namespace id="_2" name="std" context="_1" members="" mangled="_Z3std" demangled="std"/> - <Function id="_3" name="do_smth" returns="_124" context="_1" mangled="_Z7do_smthRV6data_t" demangled="do_smth(data_t volatile&)" location="f0:10" file="f0" line="10" extern="1"> - <Argument name="data" type="_125" location="f0:10" file="f0" line="10"/> - </Function> - <Struct id="_4" name="data_t" context="_1" mangled="6data_t" demangled="data_t" location="f0:6" file="f0" line="6" artificial="1" size="32" align="32" members="_126 _127 _128 " bases=""/> - <Function id="_5" name="__builtin_cpowl" returns="_129" context="_1" location="f1:131" file="f1" line="131" extern="1"> - <Argument type="_129" location="f1:131" file="f1" line="131"/> - <Argument type="_129" location="f1:131" file="f1" line="131"/> - </Function> - <Function id="_6" name="__builtin_cpow" returns="_130" context="_1" location="f1:130" file="f1" line="130" extern="1"> - <Argument type="_130" location="f1:130" file="f1" line="130"/> - <Argument type="_130" location="f1:130" file="f1" line="130"/> - </Function> - <Function id="_7" name="__builtin_cpowf" returns="_131" context="_1" location="f1:129" file="f1" line="129" extern="1"> - <Argument type="_131" location="f1:129" file="f1" line="129"/> - <Argument type="_131" location="f1:129" file="f1" line="129"/> - </Function> - <Function id="_8" name="__builtin_ctanhl" returns="_129" context="_1" location="f1:128" file="f1" line="128" extern="1"> - <Argument type="_129" location="f1:128" file="f1" line="128"/> - </Function> - <Function id="_9" name="__builtin_ctanh" returns="_130" context="_1" location="f1:127" file="f1" line="127" extern="1"> - <Argument type="_130" location="f1:127" file="f1" line="127"/> - </Function> - <Function id="_10" name="__builtin_ctanhf" returns="_131" context="_1" location="f1:126" file="f1" line="126" extern="1"> - <Argument type="_131" location="f1:126" file="f1" line="126"/> - </Function> - <Function id="_11" name="__builtin_ctanl" returns="_129" context="_1" location="f1:125" file="f1" line="125" extern="1"> - <Argument type="_129" location="f1:125" file="f1" line="125"/> - </Function> - <Function id="_12" name="__builtin_ctan" returns="_130" context="_1" location="f1:124" file="f1" line="124" extern="1"> - <Argument type="_130" location="f1:124" file="f1" line="124"/> - </Function> - <Function id="_13" name="__builtin_ctanf" returns="_131" context="_1" location="f1:123" file="f1" line="123" extern="1"> - <Argument type="_131" location="f1:123" file="f1" line="123"/> - </Function> - <Function id="_14" name="__builtin_csqrtl" returns="_129" context="_1" location="f1:122" file="f1" line="122" extern="1"> - <Argument type="_129" location="f1:122" file="f1" line="122"/> - </Function> - <Function id="_15" name="__builtin_csqrt" returns="_130" context="_1" location="f1:121" file="f1" line="121" extern="1"> - <Argument type="_130" location="f1:121" file="f1" line="121"/> - </Function> - <Function id="_16" name="__builtin_csqrtf" returns="_131" context="_1" location="f1:120" file="f1" line="120" extern="1"> - <Argument type="_131" location="f1:120" file="f1" line="120"/> - </Function> - <Function id="_17" name="__builtin_csinhl" returns="_129" context="_1" location="f1:119" file="f1" line="119" extern="1"> - <Argument type="_129" location="f1:119" file="f1" line="119"/> - </Function> - <Function id="_18" name="__builtin_csinh" returns="_130" context="_1" location="f1:118" file="f1" line="118" extern="1"> - <Argument type="_130" location="f1:118" file="f1" line="118"/> - </Function> - <Function id="_19" name="__builtin_csinhf" returns="_131" context="_1" location="f1:117" file="f1" line="117" extern="1"> - <Argument type="_131" location="f1:117" file="f1" line="117"/> - </Function> - <Function id="_20" name="__builtin_csinl" returns="_129" context="_1" location="f1:116" file="f1" line="116" extern="1"> - <Argument type="_129" location="f1:116" file="f1" line="116"/> - </Function> - <Function id="_21" name="__builtin_csin" returns="_130" context="_1" location="f1:115" file="f1" line="115" extern="1"> - <Argument type="_130" location="f1:115" file="f1" line="115"/> - </Function> - <Function id="_22" name="__builtin_csinf" returns="_131" context="_1" location="f1:114" file="f1" line="114" extern="1"> - <Argument type="_131" location="f1:114" file="f1" line="114"/> - </Function> - <Function id="_23" name="__builtin_clogl" returns="_129" context="_1" location="f1:113" file="f1" line="113" extern="1"> - <Argument type="_129" location="f1:113" file="f1" line="113"/> - </Function> - <Function id="_24" name="__builtin_clog" returns="_130" context="_1" location="f1:112" file="f1" line="112" extern="1"> - <Argument type="_130" location="f1:112" file="f1" line="112"/> - </Function> - <Function id="_25" name="__builtin_clogf" returns="_131" context="_1" location="f1:111" file="f1" line="111" extern="1"> - <Argument type="_131" location="f1:111" file="f1" line="111"/> - </Function> - <Function id="_26" name="__builtin_cexpl" returns="_129" context="_1" location="f1:110" file="f1" line="110" extern="1"> - <Argument type="_129" location="f1:110" file="f1" line="110"/> - </Function> - <Function id="_27" name="__builtin_cexp" returns="_130" context="_1" location="f1:109" file="f1" line="109" extern="1"> - <Argument type="_130" location="f1:109" file="f1" line="109"/> - </Function> - <Function id="_28" name="__builtin_cexpf" returns="_131" context="_1" location="f1:108" file="f1" line="108" extern="1"> - <Argument type="_131" location="f1:108" file="f1" line="108"/> - </Function> - <Function id="_29" name="__builtin_ccoshl" returns="_129" context="_1" location="f1:107" file="f1" line="107" extern="1"> - <Argument type="_129" location="f1:107" file="f1" line="107"/> - </Function> - <Function id="_30" name="__builtin_ccosh" returns="_130" context="_1" location="f1:106" file="f1" line="106" extern="1"> - <Argument type="_130" location="f1:106" file="f1" line="106"/> - </Function> - <Function id="_31" name="__builtin_ccoshf" returns="_131" context="_1" location="f1:105" file="f1" line="105" extern="1"> - <Argument type="_131" location="f1:105" file="f1" line="105"/> - </Function> - <Function id="_32" name="__builtin_ccosl" returns="_129" context="_1" location="f1:104" file="f1" line="104" extern="1"> - <Argument type="_129" location="f1:104" file="f1" line="104"/> - </Function> - <Function id="_33" name="__builtin_ccos" returns="_130" context="_1" location="f1:103" file="f1" line="103" extern="1"> - <Argument type="_130" location="f1:103" file="f1" line="103"/> - </Function> - <Function id="_34" name="__builtin_ccosf" returns="_131" context="_1" location="f1:102" file="f1" line="102" extern="1"> - <Argument type="_131" location="f1:102" file="f1" line="102"/> - </Function> - <Function id="_35" name="__builtin_popcountll" returns="_132" context="_1" location="f1:101" file="f1" line="101" extern="1"> - <Argument type="_133" location="f1:101" file="f1" line="101"/> - </Function> - <Function id="_36" name="__builtin_popcountl" returns="_132" context="_1" location="f1:100" file="f1" line="100" extern="1"> - <Argument type="_134" location="f1:100" file="f1" line="100"/> - </Function> - <Function id="_37" name="__builtin_popcount" returns="_132" context="_1" location="f1:99" file="f1" line="99" extern="1"> - <Argument type="_132" location="f1:99" file="f1" line="99"/> - </Function> - <Function id="_38" name="__builtin_ctzll" returns="_132" context="_1" location="f1:98" file="f1" line="98" extern="1"> - <Argument type="_133" location="f1:98" file="f1" line="98"/> - </Function> - <Function id="_39" name="__builtin_ctzl" returns="_132" context="_1" location="f1:97" file="f1" line="97" extern="1"> - <Argument type="_134" location="f1:97" file="f1" line="97"/> - </Function> - <Function id="_40" name="__builtin_ctz" returns="_132" context="_1" location="f1:96" file="f1" line="96" extern="1"> - <Argument type="_132" location="f1:96" file="f1" line="96"/> - </Function> - <Function id="_41" name="__builtin_cargl" returns="_135" context="_1" location="f1:95" file="f1" line="95" extern="1"> - <Argument type="_129" location="f1:95" file="f1" line="95"/> - </Function> - <Function id="_42" name="__builtin_carg" returns="_136" context="_1" location="f1:94" file="f1" line="94" extern="1"> - <Argument type="_130" location="f1:94" file="f1" line="94"/> - </Function> - <Function id="_43" name="__builtin_cargf" returns="_137" context="_1" location="f1:93" file="f1" line="93" extern="1"> - <Argument type="_131" location="f1:93" file="f1" line="93"/> - </Function> - <Function id="_44" name="__builtin_cabsl" returns="_135" context="_1" location="f1:92" file="f1" line="92" extern="1"> - <Argument type="_129" location="f1:92" file="f1" line="92"/> - </Function> - <Function id="_45" name="__builtin_cabs" returns="_136" context="_1" location="f1:91" file="f1" line="91" extern="1"> - <Argument type="_130" location="f1:91" file="f1" line="91"/> - </Function> - <Function id="_46" name="__builtin_cabsf" returns="_137" context="_1" location="f1:90" file="f1" line="90" extern="1"> - <Argument type="_131" location="f1:90" file="f1" line="90"/> - </Function> - <Function id="_47" name="__builtin_tanl" returns="_135" context="_1" location="f1:89" file="f1" line="89" extern="1"> - <Argument type="_135" location="f1:89" file="f1" line="89"/> - </Function> - <Function id="_48" name="__builtin_tanhl" returns="_135" context="_1" location="f1:88" file="f1" line="88" extern="1"> - <Argument type="_135" location="f1:88" file="f1" line="88"/> - </Function> - <Function id="_49" name="__builtin_tanhf" returns="_137" context="_1" location="f1:87" file="f1" line="87" extern="1"> - <Argument type="_137" location="f1:87" file="f1" line="87"/> - </Function> - <Function id="_50" name="__builtin_tanh" returns="_136" context="_1" location="f1:86" file="f1" line="86" extern="1"> - <Argument type="_136" location="f1:86" file="f1" line="86"/> - </Function> - <Function id="_51" name="__builtin_tanf" returns="_137" context="_1" location="f1:85" file="f1" line="85" extern="1"> - <Argument type="_137" location="f1:85" file="f1" line="85"/> - </Function> - <Function id="_52" name="__builtin_tan" returns="_136" context="_1" location="f1:84" file="f1" line="84" extern="1"> - <Argument type="_136" location="f1:84" file="f1" line="84"/> - </Function> - <Function id="_53" name="__builtin_sinhl" returns="_135" context="_1" location="f1:79" file="f1" line="79" extern="1"> - <Argument type="_135" location="f1:79" file="f1" line="79"/> - </Function> - <Function id="_54" name="__builtin_sinhf" returns="_137" context="_1" location="f1:78" file="f1" line="78" extern="1"> - <Argument type="_137" location="f1:78" file="f1" line="78"/> - </Function> - <Function id="_55" name="__builtin_sinh" returns="_136" context="_1" location="f1:77" file="f1" line="77" extern="1"> - <Argument type="_136" location="f1:77" file="f1" line="77"/> - </Function> - <Function id="_56" name="__builtin_powil" returns="_135" context="_1" location="f1:74" file="f1" line="74" extern="1"> - <Argument type="_135" location="f1:74" file="f1" line="74"/> - <Argument type="_132" location="f1:74" file="f1" line="74"/> - </Function> - <Function id="_57" name="__builtin_powif" returns="_137" context="_1" location="f1:73" file="f1" line="73" extern="1"> - <Argument type="_137" location="f1:73" file="f1" line="73"/> - <Argument type="_132" location="f1:73" file="f1" line="73"/> - </Function> - <Function id="_58" name="__builtin_powi" returns="_136" context="_1" location="f1:72" file="f1" line="72" extern="1"> - <Argument type="_136" location="f1:72" file="f1" line="72"/> - <Argument type="_132" location="f1:72" file="f1" line="72"/> - </Function> - <Function id="_59" name="__builtin_powl" returns="_135" context="_1" location="f1:71" file="f1" line="71" extern="1"> - <Argument type="_135" location="f1:71" file="f1" line="71"/> - <Argument type="_135" location="f1:71" file="f1" line="71"/> - </Function> - <Function id="_60" name="__builtin_powf" returns="_137" context="_1" location="f1:70" file="f1" line="70" extern="1"> - <Argument type="_137" location="f1:70" file="f1" line="70"/> - <Argument type="_137" location="f1:70" file="f1" line="70"/> - </Function> - <Function id="_61" name="__builtin_modfl" returns="_135" context="_1" location="f1:69" file="f1" line="69" extern="1"> - <Argument type="_135" location="f1:69" file="f1" line="69"/> - <Argument type="_138" location="f1:69" file="f1" line="69"/> - </Function> - <Function id="_62" name="__builtin_modff" returns="_137" context="_1" location="f1:68" file="f1" line="68" extern="1"> - <Argument type="_137" location="f1:68" file="f1" line="68"/> - <Argument type="_139" location="f1:68" file="f1" line="68"/> - </Function> - <Function id="_63" name="__builtin_log10l" returns="_135" context="_1" location="f1:65" file="f1" line="65" extern="1"> - <Argument type="_135" location="f1:65" file="f1" line="65"/> - </Function> - <Function id="_64" name="__builtin_log10f" returns="_137" context="_1" location="f1:64" file="f1" line="64" extern="1"> - <Argument type="_137" location="f1:64" file="f1" line="64"/> - </Function> - <Function id="_65" name="__builtin_log10" returns="_136" context="_1" location="f1:63" file="f1" line="63" extern="1"> - <Argument type="_136" location="f1:63" file="f1" line="63"/> - </Function> - <Function id="_66" name="__builtin_ldexpl" returns="_135" context="_1" location="f1:61" file="f1" line="61" extern="1"> - <Argument type="_135" location="f1:61" file="f1" line="61"/> - <Argument type="_132" location="f1:61" file="f1" line="61"/> - </Function> - <Function id="_67" name="__builtin_ldexpf" returns="_137" context="_1" location="f1:60" file="f1" line="60" extern="1"> - <Argument type="_137" location="f1:60" file="f1" line="60"/> - <Argument type="_132" location="f1:60" file="f1" line="60"/> - </Function> - <Function id="_68" name="__builtin_ldexp" returns="_136" context="_1" location="f1:59" file="f1" line="59" extern="1"> - <Argument type="_136" location="f1:59" file="f1" line="59"/> - <Argument type="_132" location="f1:59" file="f1" line="59"/> - </Function> - <Function id="_69" name="__builtin_frexpl" returns="_135" context="_1" location="f1:58" file="f1" line="58" extern="1"> - <Argument type="_135" location="f1:58" file="f1" line="58"/> - <Argument type="_140" location="f1:58" file="f1" line="58"/> - </Function> - <Function id="_70" name="__builtin_frexpf" returns="_137" context="_1" location="f1:57" file="f1" line="57" extern="1"> - <Argument type="_137" location="f1:57" file="f1" line="57"/> - <Argument type="_140" location="f1:57" file="f1" line="57"/> - </Function> - <Function id="_71" name="__builtin_frexp" returns="_136" context="_1" location="f1:56" file="f1" line="56" extern="1"> - <Argument type="_136" location="f1:56" file="f1" line="56"/> - <Argument type="_140" location="f1:56" file="f1" line="56"/> - </Function> - <Function id="_72" name="__builtin_fmodl" returns="_135" context="_1" location="f1:55" file="f1" line="55" extern="1"> - <Argument type="_135" location="f1:55" file="f1" line="55"/> - <Argument type="_135" location="f1:55" file="f1" line="55"/> - </Function> - <Function id="_73" name="__builtin_fmodf" returns="_137" context="_1" location="f1:54" file="f1" line="54" extern="1"> - <Argument type="_137" location="f1:54" file="f1" line="54"/> - <Argument type="_137" location="f1:54" file="f1" line="54"/> - </Function> - <Function id="_74" name="__builtin_floorl" returns="_135" context="_1" location="f1:53" file="f1" line="53" extern="1"> - <Argument type="_135" location="f1:53" file="f1" line="53"/> - </Function> - <Function id="_75" name="__builtin_floorf" returns="_137" context="_1" location="f1:52" file="f1" line="52" extern="1"> - <Argument type="_137" location="f1:52" file="f1" line="52"/> - </Function> - <Function id="_76" name="__builtin_floor" returns="_136" context="_1" location="f1:51" file="f1" line="51" extern="1"> - <Argument type="_136" location="f1:51" file="f1" line="51"/> - </Function> - <Function id="_77" name="__builtin_coshl" returns="_135" context="_1" location="f1:43" file="f1" line="43" extern="1"> - <Argument type="_135" location="f1:43" file="f1" line="43"/> - </Function> - <Function id="_78" name="__builtin_coshf" returns="_137" context="_1" location="f1:42" file="f1" line="42" extern="1"> - <Argument type="_137" location="f1:42" file="f1" line="42"/> - </Function> - <Function id="_79" name="__builtin_cosh" returns="_136" context="_1" location="f1:41" file="f1" line="41" extern="1"> - <Argument type="_136" location="f1:41" file="f1" line="41"/> - </Function> - <Function id="_80" name="__builtin_ceill" returns="_135" context="_1" location="f1:38" file="f1" line="38" extern="1"> - <Argument type="_135" location="f1:38" file="f1" line="38"/> - </Function> - <Function id="_81" name="__builtin_ceilf" returns="_137" context="_1" location="f1:37" file="f1" line="37" extern="1"> - <Argument type="_137" location="f1:37" file="f1" line="37"/> - </Function> - <Function id="_82" name="__builtin_ceil" returns="_136" context="_1" location="f1:36" file="f1" line="36" extern="1"> - <Argument type="_136" location="f1:36" file="f1" line="36"/> - </Function> - <Function id="_83" name="__builtin_atanl" returns="_135" context="_1" location="f1:35" file="f1" line="35" extern="1"> - <Argument type="_135" location="f1:35" file="f1" line="35"/> - </Function> - <Function id="_84" name="__builtin_atanf" returns="_137" context="_1" location="f1:34" file="f1" line="34" extern="1"> - <Argument type="_137" location="f1:34" file="f1" line="34"/> - </Function> - <Function id="_85" name="__builtin_atan2l" returns="_135" context="_1" location="f1:33" file="f1" line="33" extern="1"> - <Argument type="_135" location="f1:33" file="f1" line="33"/> - <Argument type="_135" location="f1:33" file="f1" line="33"/> - </Function> - <Function id="_86" name="__builtin_atan2f" returns="_137" context="_1" location="f1:32" file="f1" line="32" extern="1"> - <Argument type="_137" location="f1:32" file="f1" line="32"/> - <Argument type="_137" location="f1:32" file="f1" line="32"/> - </Function> - <Function id="_87" name="__builtin_atan2" returns="_136" context="_1" location="f1:31" file="f1" line="31" extern="1"> - <Argument type="_136" location="f1:31" file="f1" line="31"/> - <Argument type="_136" location="f1:31" file="f1" line="31"/> - </Function> - <Function id="_88" name="__builtin_atan" returns="_136" context="_1" location="f1:30" file="f1" line="30" extern="1"> - <Argument type="_136" location="f1:30" file="f1" line="30"/> - </Function> - <Function id="_89" name="__builtin_asinl" returns="_135" context="_1" location="f1:29" file="f1" line="29" extern="1"> - <Argument type="_135" location="f1:29" file="f1" line="29"/> - </Function> - <Function id="_90" name="__builtin_asinf" returns="_137" context="_1" location="f1:28" file="f1" line="28" extern="1"> - <Argument type="_137" location="f1:28" file="f1" line="28"/> - </Function> - <Function id="_91" name="__builtin_asin" returns="_136" context="_1" location="f1:27" file="f1" line="27" extern="1"> - <Argument type="_136" location="f1:27" file="f1" line="27"/> - </Function> - <Function id="_92" name="__builtin_acosl" returns="_135" context="_1" location="f1:26" file="f1" line="26" extern="1"> - <Argument type="_135" location="f1:26" file="f1" line="26"/> - </Function> - <Function id="_93" name="__builtin_acosf" returns="_137" context="_1" location="f1:25" file="f1" line="25" extern="1"> - <Argument type="_137" location="f1:25" file="f1" line="25"/> - </Function> - <Function id="_94" name="__builtin_acos" returns="_136" context="_1" location="f1:24" file="f1" line="24" extern="1"> - <Argument type="_136" location="f1:24" file="f1" line="24"/> - </Function> - <Function id="_95" name="__builtin_expect" returns="_134" context="_1" location="f1:16" file="f1" line="16" extern="1"> - <Argument name="EXP" type="_134" location="f1:16" file="f1" line="16"/> - <Argument name="C" type="_134" location="f1:16" file="f1" line="16"/> - </Function> - <Function id="_96" name="__builtin_prefetch" returns="_124" context="_1" location="f1:17" file="f1" line="17" extern="1"> - <Argument name="ADDR" type="_141" location="f1:17" file="f1" line="17"/> - <Ellipsis/> - </Function> - <Function id="_97" name="__builtin_return" returns="_124" context="_1" location="f1:13" file="f1" line="13" extern="1" attributes="nothrow noreturn"> - <Argument name="RESULT" type="_142" location="f1:13" file="f1" line="13"/> - </Function> - <Function id="_98" name="__builtin_return_address" returns="_142" context="_1" location="f1:14" file="f1" line="14" extern="1"> - <Argument name="LEVEL" type="_143" location="f1:14" file="f1" line="14"/> - </Function> - <Function id="_99" name="__builtin_frame_address" returns="_142" context="_1" location="f1:15" file="f1" line="15" extern="1"> - <Argument name="LEVEL" type="_143" location="f1:15" file="f1" line="15"/> - </Function> - <Function id="_100" name="__builtin_nansl" returns="_135" context="_1" mangled="nansl" demangled="__int128" location="f1:23" file="f1" line="23" extern="1" attributes="nothrow const"> - <Argument name="str" type="_144" location="f1:23" file="f1" line="23"/> - </Function> - <Function id="_101" name="__builtin_nansf" returns="_137" context="_1" mangled="nansf" demangled="__int128" location="f1:22" file="f1" line="22" extern="1" attributes="nothrow const"> - <Argument name="str" type="_144" location="f1:22" file="f1" line="22"/> - </Function> - <Function id="_102" name="__builtin_nans" returns="_136" context="_1" mangled="nans" demangled="__int128" location="f1:21" file="f1" line="21" extern="1" attributes="nothrow const"> - <Argument name="str" type="_144" location="f1:21" file="f1" line="21"/> - </Function> - <Function id="_103" name="__builtin_infl" returns="_135" context="_1" location="f1:20" file="f1" line="20" extern="1" attributes="nothrow const"/> - <Function id="_104" name="__builtin_inff" returns="_137" context="_1" location="f1:19" file="f1" line="19" extern="1" attributes="nothrow const"/> - <Function id="_105" name="__builtin_inf" returns="_136" context="_1" location="f1:18" file="f1" line="18" extern="1" attributes="nothrow const"/> - <Function id="_106" name="__builtin_logl" returns="_135" context="_1" mangled="logl" demangled="long" location="f1:67" file="f1" line="67" extern="1" attributes="nothrow"> - <Argument type="_135" location="f1:67" file="f1" line="67"/> - </Function> - <Function id="_107" name="__builtin_expl" returns="_135" context="_1" mangled="expl" demangled="long double" location="f1:47" file="f1" line="47" extern="1" attributes="nothrow"> - <Argument type="_135" location="f1:47" file="f1" line="47"/> - </Function> - <Function id="_108" name="__builtin_cosl" returns="_135" context="_1" mangled="cosl" demangled="char" location="f1:44" file="f1" line="44" extern="1" attributes="nothrow pure"> - <Argument type="_135" location="f1:44" file="f1" line="44"/> - </Function> - <Function id="_109" name="__builtin_sinl" returns="_135" context="_1" mangled="sinl" demangled="short" location="f1:80" file="f1" line="80" extern="1" attributes="nothrow pure"> - <Argument type="_135" location="f1:80" file="f1" line="80"/> - </Function> - <Function id="_110" name="__builtin_sqrtl" returns="_135" context="_1" mangled="sqrtl" demangled="short" location="f1:83" file="f1" line="83" extern="1" attributes="nothrow"> - <Argument type="_135" location="f1:83" file="f1" line="83"/> - </Function> - <Function id="_111" name="__builtin_logf" returns="_137" context="_1" mangled="logf" demangled="long" location="f1:66" file="f1" line="66" extern="1" attributes="nothrow"> - <Argument type="_137" location="f1:66" file="f1" line="66"/> - </Function> - <Function id="_112" name="__builtin_expf" returns="_137" context="_1" mangled="expf" demangled="long double" location="f1:46" file="f1" line="46" extern="1" attributes="nothrow"> - <Argument type="_137" location="f1:46" file="f1" line="46"/> - </Function> - <Function id="_113" name="__builtin_cosf" returns="_137" context="_1" mangled="cosf" demangled="char" location="f1:40" file="f1" line="40" extern="1" attributes="nothrow pure"> - <Argument type="_137" location="f1:40" file="f1" line="40"/> - </Function> - <Function id="_114" name="__builtin_sinf" returns="_137" context="_1" mangled="sinf" demangled="short" location="f1:76" file="f1" line="76" extern="1" attributes="nothrow pure"> - <Argument type="_137" location="f1:76" file="f1" line="76"/> - </Function> - <Function id="_115" name="__builtin_sqrtf" returns="_137" context="_1" mangled="sqrtf" demangled="short" location="f1:82" file="f1" line="82" extern="1" attributes="nothrow"> - <Argument type="_137" location="f1:82" file="f1" line="82"/> - </Function> - <Function id="_116" name="__builtin_log" returns="_136" context="_1" mangled="log" demangled="long" location="f1:62" file="f1" line="62" extern="1" attributes="nothrow"> - <Argument type="_136" location="f1:62" file="f1" line="62"/> - </Function> - <Function id="_117" name="__builtin_exp" returns="_136" context="_1" mangled="exp" demangled="long double" location="f1:45" file="f1" line="45" extern="1" attributes="nothrow"> - <Argument type="_136" location="f1:45" file="f1" line="45"/> - </Function> - <Function id="_118" name="__builtin_cos" returns="_136" context="_1" mangled="cos" demangled="char" location="f1:39" file="f1" line="39" extern="1" attributes="nothrow pure"> - <Argument type="_136" location="f1:39" file="f1" line="39"/> - </Function> - <Function id="_119" name="__builtin_sin" returns="_136" context="_1" mangled="sin" demangled="short" location="f1:75" file="f1" line="75" extern="1" attributes="nothrow pure"> - <Argument type="_136" location="f1:75" file="f1" line="75"/> - </Function> - <Function id="_120" name="__builtin_sqrt" returns="_136" context="_1" mangled="sqrt" demangled="short" location="f1:81" file="f1" line="81" extern="1" attributes="nothrow"> - <Argument type="_136" location="f1:81" file="f1" line="81"/> - </Function> - <Function id="_121" name="__builtin_fabsl" returns="_135" context="_1" location="f1:50" file="f1" line="50" extern="1" attributes="nothrow const"> - <Argument type="_135" location="f1:50" file="f1" line="50"/> - </Function> - <Function id="_122" name="__builtin_fabsf" returns="_137" context="_1" location="f1:49" file="f1" line="49" extern="1" attributes="nothrow const"> - <Argument type="_137" location="f1:49" file="f1" line="49"/> - </Function> - <Function id="_123" name="__builtin_fabs" returns="_136" context="_1" location="f1:48" file="f1" line="48" extern="1" attributes="nothrow const"> - <Argument type="_136" location="f1:48" file="f1" line="48"/> - </Function> - <FundamentalType id="_124" name="void" align="8"/> - <ReferenceType id="_125" type="_4v" size="32" align="32"/> - <Field id="_126" name="m_some_member" type="_132" offset="0" context="_4" access="public" mangled="_ZN6data_t13m_some_memberE" demangled="data_t::m_some_member" location="f0:7" file="f0" line="7"/> - <Constructor id="_127" name="data_t" artificial="1" throw="" context="_4" access="public" mangled="_ZN6data_tC1ERKS_ *INTERNAL* " demangled="data_t::data_t(data_t const&)" location="f0:6" file="f0" line="6" inline="1"> - <Argument name="_ctor_arg" type="_146" location="f0:6" file="f0" line="6"/> - </Constructor> - <Constructor id="_128" name="data_t" explicit="1" artificial="1" throw="" context="_4" access="public" mangled="_ZN6data_tC1Ev *INTERNAL* " demangled="data_t::data_t()" location="f0:6" file="f0" line="6" inline="1"/> - <FundamentalType id="_129" name="complex long double" size="192" align="32"/> - <FundamentalType id="_130" name="complex double" size="128" align="64"/> - <FundamentalType id="_131" name="complex float" size="64" align="32"/> - <FundamentalType id="_132" name="int" size="32" align="32"/> - <FundamentalType id="_133" name="long long int" size="64" align="64"/> - <FundamentalType id="_134" name="long int" size="32" align="32"/> - <FundamentalType id="_135" name="long double" size="96" align="32"/> - <FundamentalType id="_136" name="double" size="64" align="64"/> - <FundamentalType id="_137" name="float" size="32" align="32"/> - <PointerType id="_138" type="_135" size="32" align="32"/> - <PointerType id="_139" type="_137" size="32" align="32"/> - <PointerType id="_140" type="_132" size="32" align="32"/> - <PointerType id="_141" type="_124c" size="32" align="32"/> - <PointerType id="_142" type="_124" size="32" align="32"/> - <FundamentalType id="_143" name="unsigned int" size="32" align="32"/> - <PointerType id="_144" type="_148c" size="32" align="32"/> - <ReferenceType id="_146" type="_4c" size="32" align="32"/> - <FundamentalType id="_148" name="char" size="8" align="8"/> - <CvQualifiedType id="_148c" type="_148" const="1"/> - <CvQualifiedType id="_124c" type="_124" const="1"/> - <CvQualifiedType id="_4c" type="_4" const="1"/> - <CvQualifiedType id="_4v" type="_4" volatile="1"/> - <File id="f0" name="volatile_arg.h"/> - <File id="f1" name="/home/roman/gccxml/share/gccxml-0.7/GCC/4.1/gccxml_builtins.h"/> -</GCC_XML> Deleted: pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.9.xml =================================================================== --- pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.9.xml 2007-11-11 06:57:12 UTC (rev 1136) +++ pygccxml_dev/gccxml-0.9-upgrade/volatile_arg.9.xml 2007-11-11 18:14:54 UTC (rev 1137) @@ -1,409 +0,0 @@ -<?xml version="1.0"?> -<GCC_XML cvs_revision="1.117"> - <Namespace id="_1" name="::" members="_3 _4 _5 _6 _7 _8 _9 _10 _11 _12 _13 _14 _15 _16 _17 _18 _19 _20 _21 _22 _23 _24 _25 _26 _27 _28 _29 _30 _31 _32 _33 _34 _35 _36 _37 _38 _39 _40 _41 _42 _43 _44 _45 _46 _47 _48 _49 _50 _51 _52 _53 _54 _55 _56 _57 _58 _59 _60 _61 _62 _63 _64 _65 _66 _67 _68 _69 _70 _71 _72 _73 _74 _75 _76 _77 _78 _79 _80 _81 _82 _2 _83 _84 _85 _86 _87 _88 _89 _90 _91 _92 _93 _94 _95 _96 _97 _98 _99 _100 _101 _102 _103 _104 _105 _106 _107 _108 _109 _110 _111 _112 _113 _114 _115 _116 _117 _118 _119 _120 _121 _122 _123 _124 " mangled="_Z2::" demangled="::"/> - <Namespace id="_2" name="std" context="_1" members="" mangled="_Z3std" demangled="std"/> - <Function id="_3" name="__builtin_nans" returns="_125" context="_1" location="f0:21" file="f0" line="21" extern="1" attributes="nothrow const nonnull"> - <Argument name="str" type="_126" location="f0:21" file="f0" line="21"/> - </Function> - <Function id="_4" name="__builtin_acosf" returns="_127" context="_1" mangled="acosf" location="f0:25" file="f0" line="25" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:25" file="f0" line="25"/> - </Function> - <Function id="_5" name="__builtin_acosl" returns="_128" context="_1" mangled="acosl" location="f0:26" file="f0" line="26" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:26" file="f0" line="26"/> - </Function> - <Function id="_6" name="__builtin_log10" returns="_125" context="_1" mangled="log10" location="f0:63" file="f0" line="63" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:63" file="f0" line="63"/> - </Function> - <Function id="_7" name="__builtin_popcountll" returns="_129" context="_1" location="f0:101" file="f0" line="101" extern="1" attributes="nothrow const"> - <Argument type="_130" location="f0:101" file="f0" line="101"/> - </Function> - <Function id="_8" name="__builtin_clogf" returns="_131" context="_1" mangled="clogf" location="f0:111" file="f0" line="111" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:111" file="f0" line="111"/> - </Function> - <Function id="_9" name="__builtin_clogl" returns="_132" context="_1" mangled="clogl" location="f0:113" file="f0" line="113" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:113" file="f0" line="113"/> - </Function> - <Function id="_10" name="__builtin_cexpf" returns="_131" context="_1" mangled="cexpf" location="f0:108" file="f0" line="108" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:108" file="f0" line="108"/> - </Function> - <Function id="_11" name="__builtin_cexpl" returns="_132" context="_1" mangled="cexpl" location="f0:110" file="f0" line="110" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:110" file="f0" line="110"/> - </Function> - <Function id="_12" name="__builtin_asinf" returns="_127" context="_1" mangled="asinf" location="f0:28" file="f0" line="28" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:28" file="f0" line="28"/> - </Function> - <Function id="_13" name="__builtin_asinl" returns="_128" context="_1" mangled="asinl" location="f0:29" file="f0" line="29" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:29" file="f0" line="29"/> - </Function> - <Function id="_14" name="__builtin_popcount" returns="_129" context="_1" location="f0:99" file="f0" line="99" extern="1" attributes="nothrow const"> - <Argument type="_129" location="f0:99" file="f0" line="99"/> - </Function> - <Function id="_15" name="__builtin_nansf" returns="_127" context="_1" location="f0:22" file="f0" line="22" extern="1" attributes="nothrow const nonnull"> - <Argument name="str" type="_126" location="f0:22" file="f0" line="22"/> - </Function> - <Function id="_16" name="__builtin_nansl" returns="_128" context="_1" location="f0:23" file="f0" line="23" extern="1" attributes="nothrow const nonnull"> - <Argument name="str" type="_126" location="f0:23" file="f0" line="23"/> - </Function> - <Function id="_17" name="__builtin_floorf" returns="_127" context="_1" mangled="floorf" location="f0:52" file="f0" line="52" extern="1" attributes="nothrow const"> - <Argument type="_127" location="f0:52" file="f0" line="52"/> - </Function> - <Function id="_18" name="__builtin_floorl" returns="_128" context="_1" mangled="floorl" location="f0:53" file="f0" line="53" extern="1" attributes="nothrow const"> - <Argument type="_128" location="f0:53" file="f0" line="53"/> - </Function> - <Function id="_19" name="__builtin_ctanf" returns="_131" context="_1" mangled="ctanf" location="f0:123" file="f0" line="123" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:123" file="f0" line="123"/> - </Function> - <Function id="_20" name="__builtin_ctanh" returns="_133" context="_1" mangled="ctanh" location="f0:127" file="f0" line="127" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:127" file="f0" line="127"/> - </Function> - <Function id="_21" name="__builtin_ctanl" returns="_132" context="_1" mangled="ctanl" location="f0:125" file="f0" line="125" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:125" file="f0" line="125"/> - </Function> - <Function id="_22" name="__builtin_carg" returns="_125" context="_1" mangled="carg" location="f0:94" file="f0" line="94" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:94" file="f0" line="94"/> - </Function> - <Function id="_23" name="__builtin_clog" returns="_133" context="_1" mangled="clog" location="f0:112" file="f0" line="112" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:112" file="f0" line="112"/> - </Function> - <Function id="_24" name="__builtin_logf" returns="_127" context="_1" mangled="logf" location="f0:66" file="f0" line="66" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:66" file="f0" line="66"/> - </Function> - <Function id="_25" name="__builtin_logl" returns="_128" context="_1" mangled="logl" location="f0:67" file="f0" line="67" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:67" file="f0" line="67"/> - </Function> - <Function id="_26" name="__builtin_fabs" returns="_125" context="_1" mangled="fabs" location="f0:48" file="f0" line="48" extern="1" attributes="nothrow const"> - <Argument type="_125" location="f0:48" file="f0" line="48"/> - </Function> - <Function id="_27" name="__builtin_expf" returns="_127" context="_1" mangled="expf" location="f0:46" file="f0" line="46" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:46" file="f0" line="46"/> - </Function> - <Function id="_28" name="__builtin_expl" returns="_128" context="_1" mangled="expl" location="f0:47" file="f0" line="47" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:47" file="f0" line="47"/> - </Function> - <Function id="_29" name="__builtin_csqrt" returns="_133" context="_1" mangled="csqrt" location="f0:121" file="f0" line="121" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:121" file="f0" line="121"/> - </Function> - <Function id="_30" name="__builtin_sin" returns="_125" context="_1" mangled="sin" location="f0:75" file="f0" line="75" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:75" file="f0" line="75"/> - </Function> - <Function id="_31" name="__builtin_ldexpf" returns="_127" context="_1" mangled="ldexpf" location="f0:60" file="f0" line="60" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:60" file="f0" line="60"/> - <Argument type="_129" location="f0:60" file="f0" line="60"/> - </Function> - <Function id="_32" name="__builtin_ldexpl" returns="_128" context="_1" mangled="ldexpl" location="f0:61" file="f0" line="61" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:61" file="f0" line="61"/> - <Argument type="_129" location="f0:61" file="f0" line="61"/> - </Function> - <Function id="_33" name="__builtin_tanf" returns="_127" context="_1" mangled="tanf" location="f0:85" file="f0" line="85" extern="1" attributes="nothrow pure no vops"> - <Argument type="_127" location="f0:85" file="f0" line="85"/> - </Function> - <Function id="_34" name="__builtin_tanh" returns="_125" context="_1" mangled="tanh" location="f0:86" file="f0" line="86" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:86" file="f0" line="86"/> - </Function> - <Function id="_35" name="__builtin_tanl" returns="_128" context="_1" mangled="tanl" location="f0:89" file="f0" line="89" extern="1" attributes="nothrow pure no vops"> - <Argument type="_128" location="f0:89" file="f0" line="89"/> - </Function> - <Function id="_36" name="__builtin_ceil" returns="_125" context="_1" mangled="ceil" location="f0:36" file="f0" line="36" extern="1" attributes="nothrow const"> - <Argument type="_125" location="f0:36" file="f0" line="36"/> - </Function> - <Function id="_37" name="__builtin_fmodf" returns="_127" context="_1" mangled="fmodf" location="f0:54" file="f0" line="54" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:54" file="f0" line="54"/> - <Argument type="_127" location="f0:54" file="f0" line="54"/> - </Function> - <Function id="_38" name="__builtin_fmodl" returns="_128" context="_1" mangled="fmodl" location="f0:55" file="f0" line="55" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:55" file="f0" line="55"/> - <Argument type="_128" location="f0:55" file="f0" line="55"/> - </Function> - <Function id="_39" name="__builtin_return" returns="_134" context="_1" location="f0:13" file="f0" line="13" extern="1" attributes="nothrow noreturn"> - <Argument name="RESULT" type="_135" location="f0:13" file="f0" line="13"/> - </Function> - <Function id="_40" name="__builtin_sqrt" returns="_125" context="_1" mangled="sqrt" location="f0:81" file="f0" line="81" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:81" file="f0" line="81"/> - </Function> - <Function id="_41" name="__builtin_cpow" returns="_133" context="_1" mangled="cpow" location="f0:130" file="f0" line="130" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:130" file="f0" line="130"/> - <Argument type="_133" location="f0:130" file="f0" line="130"/> - </Function> - <Function id="_42" name="__builtin_coshf" returns="_127" context="_1" mangled="coshf" location="f0:42" file="f0" line="42" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:42" file="f0" line="42"/> - </Function> - <Function id="_43" name="__builtin_coshl" returns="_128" context="_1" mangled="coshl" location="f0:43" file="f0" line="43" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:43" file="f0" line="43"/> - </Function> - <Function id="_44" name="__builtin_cexp" returns="_133" context="_1" mangled="cexp" location="f0:109" file="f0" line="109" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:109" file="f0" line="109"/> - </Function> - <Function id="_45" name="__builtin_atan2" returns="_125" context="_1" mangled="atan2" location="f0:31" file="f0" line="31" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:31" file="f0" line="31"/> - <Argument type="_125" location="f0:31" file="f0" line="31"/> - </Function> - <Function id="_46" name="__builtin_atanf" returns="_127" context="_1" mangled="atanf" location="f0:34" file="f0" line="34" extern="1" attributes="nothrow pure no vops"> - <Argument type="_127" location="f0:34" file="f0" line="34"/> - </Function> - <Function id="_47" name="__builtin_atanl" returns="_128" context="_1" mangled="atanl" location="f0:35" file="f0" line="35" extern="1" attributes="nothrow pure no vops"> - <Argument type="_128" location="f0:35" file="f0" line="35"/> - </Function> - <Function id="_48" name="__builtin_ctan" returns="_133" context="_1" mangled="ctan" location="f0:124" file="f0" line="124" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:124" file="f0" line="124"/> - </Function> - <Function id="_49" name="__builtin_log" returns="_125" context="_1" mangled="log" location="f0:62" file="f0" line="62" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:62" file="f0" line="62"/> - </Function> - <Function id="_50" name="__builtin_asin" returns="_125" context="_1" mangled="asin" location="f0:27" file="f0" line="27" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:27" file="f0" line="27"/> - </Function> - <Function id="_51" name="__builtin_frexp" returns="_125" context="_1" mangled="frexp" location="f0:56" file="f0" line="56" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:56" file="f0" line="56"/> - <Argument type="_136" location="f0:56" file="f0" line="56"/> - </Function> - <Function id="_52" name="__builtin_log10f" returns="_127" context="_1" mangled="log10f" location="f0:64" file="f0" line="64" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:64" file="f0" line="64"/> - </Function> - <Function id="_53" name="__builtin_log10l" returns="_128" context="_1" mangled="log10l" location="f0:65" file="f0" line="65" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:65" file="f0" line="65"/> - </Function> - <Function id="_54" name="__builtin_ctzl" returns="_129" context="_1" location="f0:97" file="f0" line="97" extern="1" attributes="nothrow const"> - <Argument type="_137" location="f0:97" file="f0" line="97"/> - </Function> - <Function id="_55" name="__builtin_powif" returns="_127" context="_1" location="f0:73" file="f0" line="73" extern="1" attributes="nothrow pure no vops"> - <Argument type="_127" location="f0:73" file="f0" line="73"/> - <Argument type="_129" location="f0:73" file="f0" line="73"/> - </Function> - <Function id="_56" name="__builtin_powil" returns="_128" context="_1" location="f0:74" file="f0" line="74" extern="1" attributes="nothrow pure no vops"> - <Argument type="_128" location="f0:74" file="f0" line="74"/> - <Argument type="_129" location="f0:74" file="f0" line="74"/> - </Function> - <Function id="_57" name="__builtin_modff" returns="_127" context="_1" mangled="modff" location="f0:68" file="f0" line="68" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:68" file="f0" line="68"/> - <Argument type="_138" location="f0:68" file="f0" line="68"/> - </Function> - <Function id="_58" name="__builtin_exp" returns="_125" context="_1" mangled="exp" location="f0:45" file="f0" line="45" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:45" file="f0" line="45"/> - </Function> - <Function id="_59" name="__builtin_modfl" returns="_128" context="_1" mangled="modfl" location="f0:69" file="f0" line="69" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:69" file="f0" line="69"/> - <Argument type="_139" location="f0:69" file="f0" line="69"/> - </Function> - <Function id="_60" name="__builtin_prefetch" returns="_134" context="_1" location="f0:17" file="f0" line="17" extern="1" attributes="no vops"> - <Argument name="ADDR" type="_140" location="f0:17" file="f0" line="17"/> - <Ellipsis/> - </Function> - <Function id="_61" name="__builtin_tan" returns="_125" context="_1" mangled="tan" location="f0:84" file="f0" line="84" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:84" file="f0" line="84"/> - </Function> - <Function id="_62" name="__builtin_fabsf" returns="_127" context="_1" mangled="fabsf" location="f0:49" file="f0" line="49" extern="1" attributes="nothrow const"> - <Argument type="_127" location="f0:49" file="f0" line="49"/> - </Function> - <Function id="_63" name="__builtin_fabsl" returns="_128" context="_1" mangled="fabsl" location="f0:50" file="f0" line="50" extern="1" attributes="nothrow const"> - <Argument type="_128" location="f0:50" file="f0" line="50"/> - </Function> - <Function id="_64" name="do_smth" returns="_134" context="_1" mangled="_Z7do_smthRV6data_t" demangled="do_smth(data_t volatile&)" location="f1:10" file="f1" line="10" extern="1"> - <Argument name="data" type="_141" location="f1:10" file="f1" line="10"/> - </Function> - <Function id="_65" name="__builtin_inf" returns="_125" context="_1" location="f0:18" file="f0" line="18" extern="1" attributes="nothrow const"/> - <Namespace id="_66" name="__cxxabiv1" context="_1" members="" mangled="_Z10__cxxabiv1" demangled="__cxxabiv1"/> - <Function id="_67" name="__builtin_frame_address" returns="_135" context="_1" location="f0:15" file="f0" line="15" extern="1"> - <Argument name="LEVEL" type="_142" location="f0:15" file="f0" line="15"/> - </Function> - <Function id="_68" name="__builtin_cabs" returns="_125" context="_1" mangled="cabs" location="f0:91" file="f0" line="91" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:91" file="f0" line="91"/> - </Function> - <Function id="_69" name="__builtin_atan2f" returns="_127" context="_1" mangled="atan2f" location="f0:32" file="f0" line="32" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:32" file="f0" line="32"/> - <Argument type="_127" location="f0:32" file="f0" line="32"/> - </Function> - <Function id="_70" name="__builtin_atan2l" returns="_128" context="_1" mangled="atan2l" location="f0:33" file="f0" line="33" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:33" file="f0" line="33"/> - <Argument type="_128" location="f0:33" file="f0" line="33"/> - </Function> - <Function id="_71" name="__builtin_ccoshf" returns="_131" context="_1" mangled="ccoshf" location="f0:105" file="f0" line="105" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:105" file="f0" line="105"/> - </Function> - <Function id="_72" name="__builtin_ccoshl" returns="_132" context="_1" mangled="ccoshl" location="f0:107" file="f0" line="107" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:107" file="f0" line="107"/> - </Function> - <Function id="_73" name="__builtin_atan" returns="_125" context="_1" mangled="atan" location="f0:30" file="f0" line="30" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:30" file="f0" line="30"/> - </Function> - <Function id="_74" name="__builtin_sinhf" returns="_127" context="_1" mangled="sinhf" location="f0:78" file="f0" line="78" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:78" file="f0" line="78"/> - </Function> - <Function id="_75" name="__builtin_sinhl" returns="_128" context="_1" mangled="sinhl" location="f0:79" file="f0" line="79" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:79" file="f0" line="79"/> - </Function> - <Function id="_76" name="__builtin_sqrtf" returns="_127" context="_1" mangled="sqrtf" location="f0:82" file="f0" line="82" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:82" file="f0" line="82"/> - </Function> - <Function id="_77" name="__builtin_sqrtl" returns="_128" context="_1" mangled="sqrtl" location="f0:83" file="f0" line="83" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:83" file="f0" line="83"/> - </Function> - <Function id="_78" name="__builtin_frexpf" returns="_127" context="_1" mangled="frexpf" location="f0:57" file="f0" line="57" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:57" file="f0" line="57"/> - <Argument type="_136" location="f0:57" file="f0" line="57"/> - </Function> - <Function id="_79" name="__builtin_frexpl" returns="_128" context="_1" mangled="frexpl" location="f0:58" file="f0" line="58" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:58" file="f0" line="58"/> - <Argument type="_136" location="f0:58" file="f0" line="58"/> - </Function> - <Function id="_80" name="__builtin_cpowf" returns="_131" context="_1" mangled="cpowf" location="f0:129" file="f0" line="129" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:129" file="f0" line="129"/> - <Argument type="_131" location="f0:129" file="f0" line="129"/> - </Function> - <Function id="_81" name="__builtin_cpowl" returns="_132" context="_1" mangled="cpowl" location="f0:131" file="f0" line="131" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:131" file="f0" line="131"/> - <Argument type="_132" location="f0:131" file="f0" line="131"/> - </Function> - <Struct id="_82" name="data_t" context="_1" mangled="6data_t" demangled="data_t" location="f1:6" file="f1" line="6" artificial="1" size="32" align="32" members="_143 " bases=""/> - <Function id="_83" name="__builtin_tanhf" returns="_127" context="_1" mangled="tanhf" location="f0:87" file="f0" line="87" extern="1" attributes="nothrow pure no vops"> - <Argument type="_127" location="f0:87" file="f0" line="87"/> - </Function> - <Function id="_84" name="__builtin_tanhl" returns="_128" context="_1" mangled="tanhl" location="f0:88" file="f0" line="88" extern="1" attributes="nothrow pure no vops"> - <Argument type="_128" location="f0:88" file="f0" line="88"/> - </Function> - <Function id="_85" name="__builtin_cabsf" returns="_127" context="_1" mangled="cabsf" location="f0:90" file="f0" line="90" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:90" file="f0" line="90"/> - </Function> - <Function id="_86" name="__builtin_cabsl" returns="_128" context="_1" mangled="cabsl" location="f0:92" file="f0" line="92" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:92" file="f0" line="92"/> - </Function> - <Function id="_87" name="__builtin_powf" returns="_127" context="_1" mangled="powf" location="f0:70" file="f0" line="70" extern="1" attributes="nothrow"> - <Argument type="_127" location="f0:70" file="f0" line="70"/> - <Argument type="_127" location="f0:70" file="f0" line="70"/> - </Function> - <Function id="_88" name="__builtin_powi" returns="_125" context="_1" location="f0:72" file="f0" line="72" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:72" file="f0" line="72"/> - <Argument type="_129" location="f0:72" file="f0" line="72"/> - </Function> - <Function id="_89" name="__builtin_powl" returns="_128" context="_1" mangled="powl" location="f0:71" file="f0" line="71" extern="1" attributes="nothrow"> - <Argument type="_128" location="f0:71" file="f0" line="71"/> - <Argument type="_128" location="f0:71" file="f0" line="71"/> - </Function> - <Function id="_90" name="__builtin_ccos" returns="_133" context="_1" mangled="ccos" location="f0:103" file="f0" line="103" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:103" file="f0" line="103"/> - </Function> - <Function id="_91" name="__builtin_expect" returns="_137" context="_1" location="f0:16" file="f0" line="16" extern="1" attributes="nothrow const"> - <Argument name="EXP" type="_137" location="f0:16" file="f0" line="16"/> - <Argument name="C" type="_137" location="f0:16" file="f0" line="16"/> - </Function> - <Function id="_92" name="__builtin_popcountl" returns="_129" context="_1" location="f0:100" file="f0" line="100" extern="1" attributes="nothrow const"> - <Argument type="_137" location="f0:100" file="f0" line="100"/> - </Function> - <Function id="_93" name="__builtin_inff" returns="_127" context="_1" location="f0:19" file="f0" line="19" extern="1" attributes="nothrow const"/> - <Function id="_94" name="__builtin_infl" returns="_128" context="_1" location="f0:20" file="f0" line="20" extern="1" attributes="nothrow const"/> - <Function id="_95" name="__builtin_cos" returns="_125" context="_1" mangled="cos" location="f0:39" file="f0" line="39" extern="1" attributes="nothrow pure no vops"> - <Argument type="_125" location="f0:39" file="f0" line="39"/> - </Function> - <Function id="_96" name="__builtin_ctz" returns="_129" context="_1" location="f0:96" file="f0" line="96" extern="1" attributes="nothrow const"> - <Argument type="_129" location="f0:96" file="f0" line="96"/> - </Function> - <Function id="_97" name="__builtin_return_address" returns="_135" context="_1" location="f0:14" file="f0" line="14" extern="1"> - <Argument name="LEVEL" type="_142" location="f0:14" file="f0" line="14"/> - </Function> - <Function id="_98" name="__builtin_csinhf" returns="_131" context="_1" mangled="csinhf" location="f0:117" file="f0" line="117" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:117" file="f0" line="117"/> - </Function> - <Function id="_99" name="__builtin_csinhl" returns="_132" context="_1" mangled="csinhl" location="f0:119" file="f0" line="119" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:119" file="f0" line="119"/> - </Function> - <Function id="_100" name="__builtin_csqrtf" returns="_131" context="_1" mangled="csqrtf" location="f0:120" file="f0" line="120" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:120" file="f0" line="120"/> - </Function> - <Function id="_101" name="__builtin_csqrtl" returns="_132" context="_1" mangled="csqrtl" location="f0:122" file="f0" line="122" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:122" file="f0" line="122"/> - </Function> - <Function id="_102" name="__builtin_floor" returns="_125" context="_1" mangled="floor" location="f0:51" file="f0" line="51" extern="1" attributes="nothrow const"> - <Argument type="_125" location="f0:51" file="f0" line="51"/> - </Function> - <Function id="_103" name="__builtin_ldexp" returns="_125" context="_1" mangled="ldexp" location="f0:59" file="f0" line="59" extern="1" attributes="nothrow"> - <Argument type="_125" location="f0:59" file="f0" line="59"/> - <Argument type="_129" location="f0:59" file="f0" line="59"/> - </Function> - <Function id="_104" name="__builtin_ccosf" returns="_131" context="_1" mangled="ccosf" location="f0:102" file="f0" line="102" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:102" file="f0" line="102"/> - </Function> - <Function id="_105" name="__builtin_ccosh" returns="_133" context="_1" mangled="ccosh" location="f0:106" file="f0" line="106" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:106" file="f0" line="106"/> - </Function> - <Function id="_106" name="__builtin_ccosl" returns="_132" context="_1" mangled="ccosl" location="f0:104" file="f0" line="104" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:104" file="f0" line="104"/> - </Function> - <Function id="_107" name="__builtin_ctanhf" returns="_131" context="_1" mangled="ctanhf" location="f0:126" file="f0" line="126" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:126" file="f0" line="126"/> - </Function> - <Function id="_108" name="__builtin_ctanhl" returns="_132" context="_1" mangled="ctanhl" location="f0:128" file="f0" line="128" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:128" file="f0" line="128"/> - </Function> - <Function id="_109" name="__builtin_ceilf" returns="_127" context="_1" mangled="ceilf" location="f0:37" file="f0" line="37" extern="1" attributes="nothrow const"> - <Argument type="_127" location="f0:37" file="f0" line="37"/> - </Function> - <Function id="_110" name="__builtin_ceill" returns="_128" context="_1" mangled="ceill" location="f0:38" file="f0" line="38" extern="1" attributes="nothrow const"> - <Argument type="_128" location="f0:38" file="f0" line="38"/> - </Function> - <Function id="_111" name="__builtin_csinf" returns="_131" context="_1" mangled="csinf" location="f0:114" file="f0" line="114" extern="1" attributes="nothrow pure no vops"> - <Argument type="_131" location="f0:114" file="f0" line="114"/> - </Function> - <Function id="_112" name="__builtin_csinh" returns="_133" context="_1" mangled="csinh" location="f0:118" file="f0" line="118" extern="1" attributes="nothrow pure no vops"> - <Argument type="_133" location="f0:118" file="f0" line="118"/> - </Function> - <Function id="_113" name="__builtin_csinl" returns="_132" context="_1" mangled="csinl" location="f0:116" file="f0" line="116" extern="1" attributes="nothrow pure no vops"> - <Argument type="_132" location="f0:116" file="f0" line="116"/> - </Function> - <Function id="_114" name="__builtin_... [truncated message content] |
From: <rom...@us...> - 2007-11-11 06:57:07
|
Revision: 1136 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1136&view=rev Author: roman_yakovenko Date: 2007-11-10 22:57:12 -0800 (Sat, 10 Nov 2007) Log Message: ----------- skip gccxml_bin directory Modified Paths: -------------- developer_scripts/clean_source_dir.py Modified: developer_scripts/clean_source_dir.py =================================================================== --- developer_scripts/clean_source_dir.py 2007-11-11 06:54:14 UTC (rev 1135) +++ developer_scripts/clean_source_dir.py 2007-11-11 06:57:12 UTC (rev 1136) @@ -38,6 +38,8 @@ sources_dir = os.path.join( os.path.abspath( os.curdir ), '..' ) for file in files_iterator( sources_dir, to_be_deleted_file_exts ): + if 'gccxml_bin' in file: + continue print 'removing : ', file os.remove( file ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rom...@us...> - 2007-11-10 22:39:37
|
Revision: 1134 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1134&view=rev Author: roman_yakovenko Date: 2007-11-10 14:39:39 -0800 (Sat, 10 Nov 2007) Log Message: ----------- updating testers, adding multi process tests execution Modified Paths: -------------- pyplusplus_dev/environment.py pyplusplus_dev/unittests/autoconfig.py pyplusplus_dev/unittests/data/member_variables_to_be_exported.hpp pyplusplus_dev/unittests/test_all.py Modified: pyplusplus_dev/environment.py =================================================================== --- pyplusplus_dev/environment.py 2007-11-10 22:37:12 UTC (rev 1133) +++ pyplusplus_dev/environment.py 2007-11-10 22:39:39 UTC (rev 1134) @@ -17,7 +17,9 @@ gccxml_09_path = os.path.join( this_module_dir_path, '..', 'gccxml_bin', 'v09', sys.platform, 'bin' ) gccxml_path = gccxml_09_path - gccxml_version = '__GCCXML_09__' + gccxml_version = '__GCCXML_07__' + if '0.9' in gccxml_version: + gccxml_version = '__GCCXML_09__' executable = gccxml_path Modified: pyplusplus_dev/unittests/autoconfig.py =================================================================== --- pyplusplus_dev/unittests/autoconfig.py 2007-11-10 22:37:12 UTC (rev 1133) +++ pyplusplus_dev/unittests/autoconfig.py 2007-11-10 22:39:39 UTC (rev 1134) @@ -46,13 +46,13 @@ os.chdir( build_dir ) -if sys.platform == 'linux2': - LD_LIBRARY_PATH = 'LD_LIBRARY_PATH' - if not os.environ.has_key( LD_LIBRARY_PATH ) \ - or not set( scons_config.libpath ).issubset( set( os.environ[LD_LIBRARY_PATH].split(':') ) ): - #see http://hathawaymix.org/Weblog/2004-12-30 - print 'error: LD_LIBRARY_PATH has not been set' -else: +#~ if sys.platform == 'linux2': + #~ LD_LIBRARY_PATH = 'LD_LIBRARY_PATH' + #~ if not os.environ.has_key( LD_LIBRARY_PATH ) \ + #~ or not set( scons_config.libpath ).issubset( set( os.environ[LD_LIBRARY_PATH].split(':') ) ): + #~ #see http://hathawaymix.org/Weblog/2004-12-30 + #~ print 'error: LD_LIBRARY_PATH has not been set' +if sys.platform == 'win32': PATH = os.environ.get( 'PATH', '' ) PATH=PATH + ';' + ';'.join( scons_config.libpath ) os.environ['PATH'] = PATH Modified: pyplusplus_dev/unittests/data/member_variables_to_be_exported.hpp =================================================================== --- pyplusplus_dev/unittests/data/member_variables_to_be_exported.hpp 2007-11-10 22:37:12 UTC (rev 1133) +++ pyplusplus_dev/unittests/data/member_variables_to_be_exported.hpp 2007-11-10 22:39:39 UTC (rev 1134) @@ -34,7 +34,6 @@ const color prefered_color; static int instance_count; static const color default_color; - static const point zero_point; }; struct bit_fields_t{ @@ -153,4 +152,4 @@ } } -#endif//__member_variables_to_be_exported_hpp__ \ No newline at end of file +#endif//__member_variables_to_be_exported_hpp__ Modified: pyplusplus_dev/unittests/test_all.py =================================================================== --- pyplusplus_dev/unittests/test_all.py 2007-11-10 22:37:12 UTC (rev 1133) +++ pyplusplus_dev/unittests/test_all.py 2007-11-10 22:39:39 UTC (rev 1134) @@ -153,7 +153,8 @@ class module_stat_t( object ): bottom_line_re = re.compile( 'Ran\s(?P<num_of_tests>\d+)\stests?\sin\s(?P<seconds>\d+\.?\d*)s') test_name_re = re.compile( '(?P<name>.+ \(.+\))\s\.\.\.' ) - failed_test_re = re.compile( '(FAIL|ERROR)\:\s(?P<name>.+ \(.+\))' ) + failed_test_re = re.compile( 'FAIL\:\s(?P<name>.+ \(.+\))' ) + error_test_re = re.compile( 'ERROR\:\s(?P<name>.+ \(.+\))' ) def __init__( self, module, output, exit_status ): self.module = module @@ -178,6 +179,9 @@ for match_found in self.failed_test_re.finditer( self.output ): self.test_results[ match_found.group( 'name' ) ] = 'FAIL' + for match_found in self.error_test_re.finditer( self.output ): + self.test_results[ match_found.group( 'name' ) ] = 'ERROR' + assert( self.num_of_tests == len( self.test_results ) ) def __init__( self, modules ): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |