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

added new feature: def_raw()

[SVN r8162]
This commit is contained in:
Ullrich Köthe
2000-11-10 11:44:42 +00:00
parent f6e12ce904
commit 03dbf0387a
8 changed files with 130 additions and 16 deletions

View File

@@ -34,6 +34,11 @@ 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 } };
}