2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-08 23:12:12 +00:00

further simplifications of error reporting code

[SVN r8315]
This commit is contained in:
Ullrich Köthe
2000-11-24 11:56:17 +00:00
parent 517b307622
commit 0bcf6cfba1
6 changed files with 107 additions and 165 deletions

View File

@@ -130,8 +130,6 @@ private: // override function hook
PyObject* do_call(PyObject* args, PyObject* keywords) const;
private:
virtual instance_holder_base* create_holder(extension_instance* self, PyObject* tail_args, PyObject* keywords) const = 0;
string description_as_string() const;
string argument_types_as_string(tuple args) const;
};
""" + gen_functions("""
@@ -150,8 +148,7 @@ struct init%x : init
PyObject* description() const
{
return function_signature(get_python_type_name(python::type<T>())%(,
get_python_type_name(python::type<A%n>())%));
return function_signature((void (*)(%(A%n%:, %)))0);
}
string function_name() const