2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

detail-ification

[SVN r8270]
This commit is contained in:
Dave Abrahams
2000-11-21 06:54:33 +00:00
parent b34a2a3754
commit 9e376229d8
24 changed files with 577 additions and 568 deletions

View File

@@ -12,10 +12,10 @@
#include "objects.h"
#include "errors.h"
namespace py {
namespace py { namespace detail {
struct Function::TypeObject :
Singleton<Function::TypeObject, Callable<py::TypeObject<Function> > >
Singleton<Function::TypeObject, Callable<py::detail::TypeObject<Function> > >
{
TypeObject() : SingletonBase(&PyType_Type) {}
};
@@ -115,7 +115,7 @@ BoundFunction* BoundFunction::create(const Ptr& target, const Ptr& fn)
// attribute of built-in Python functions can be accessed when bound.
struct BoundFunction::TypeObject :
Singleton<BoundFunction::TypeObject,
Getattrable<Callable<py::TypeObject<BoundFunction> > > >
Getattrable<Callable<py::detail::TypeObject<BoundFunction> > > >
{
TypeObject() : SingletonBase(&PyType_Type) {}
@@ -164,4 +164,4 @@ void BoundFunction::TypeObject::dealloc(BoundFunction* instance) const
BoundFunction* BoundFunction::free_list;
}
}} // namespace py::detail