2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00
[SVN r8059]
This commit is contained in:
Dave Abrahams
2000-10-28 23:03:12 +00:00
parent bc3fb27b6a
commit fabefe8272

View File

@@ -4,11 +4,11 @@ import string
def gen_extclass(args):
held_instance = """%{
template <%(class A%n%:, %)>%}
HeldInstance(PyObject* p%(, const A%n%& a%n%)) : T(%(a%n%:, %)), m_self(p) {}"""
HeldInstance(PyObject* p%(, A%n% a%n%)) : T(%(a%n%:, %)), m_self(p) {}"""
instance_value_holder = """%{
template <%(class A%n%:, %)>%}
InstanceValueHolder(ExtensionInstance* p%(, const A%n& a%n%)) :
InstanceValueHolder(ExtensionInstance* p%(, A%n a%n%)) :
m_held(p%(, a%n%)) {}"""
return (