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:
@@ -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 } };
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user