Server IP : 104.21.38.3 / Your IP : 172.70.208.59 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/boost/boost_1_59_0/boost/python/object/ |
Upload File : |
// Copyright Nikolay Mladenov 2007. // 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) #ifndef FUNCTION_SIGNATURE_20070531_HPP # define FUNCTION_SIGNATURE_20070531_HPP #include <boost/python/object/function.hpp> #include <boost/python/converter/registrations.hpp> #include <boost/python/str.hpp> #include <boost/python/tuple.hpp> #include <boost/python/detail/signature.hpp> #include <vector> namespace boost { namespace python { namespace objects { class function_doc_signature_generator{ static const char * py_type_str(const python::detail::signature_element &s); static bool arity_cmp( function const *f1, function const *f2 ); static bool are_seq_overloads( function const *f1, function const *f2 , bool check_docs); static std::vector<function const*> flatten(function const *f); static std::vector<function const*> split_seq_overloads( const std::vector<function const *> &funcs, bool split_on_doc_change); static str raw_function_pretty_signature(function const *f, size_t n_overloads, bool cpp_types = false); static str parameter_string(py_function const &f, size_t n, object arg_names, bool cpp_types); static str pretty_signature(function const *f, size_t n_overloads, bool cpp_types = false); public: static list function_doc_signatures( function const * f); }; }}}//end of namespace boost::python::objects #endif //FUNCTION_SIGNATURE_20070531_HPP