2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 17:12:22 +00:00

generalized the new def_raw() feature

[SVN r8168]
This commit is contained in:
Ullrich Köthe
2000-11-10 15:54:08 +00:00
parent aed148838f
commit 692123408b
9 changed files with 88 additions and 36 deletions

View File

@@ -34,11 +34,6 @@ void Module::add(PyTypeObject* x, const char* name /*= 0*/)
name ? name : x->tp_name);
}
void Module::def_raw(RawFunctionPtr fn, const char* name)
{
add(new RawArgumentsFunction(fn), name);
}
PyMethodDef Module::initial_methods[] = { { 0, 0, 0, 0 } };
}