aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper_p.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-03 16:53:26 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:08 -0300
commit5c119a7d68a3c6197a6890192b99b0967fa8eed1 (patch)
tree4fd961bb045e55d2d3bf77bd91ef6e0e84d4ffe5 /libshiboken/basewrapper_p.h
parentf8ad4eba987f53c05c42c2af6ec76bd59e196b75 (diff)
Add subtype init hook.
The hook is invoked every time the user creates a sub-type inherited from a Shiboken based type.
Diffstat (limited to 'libshiboken/basewrapper_p.h')
-rw-r--r--libshiboken/basewrapper_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/basewrapper_p.h b/libshiboken/basewrapper_p.h
index d2814cf73..d738dac5c 100644
--- a/libshiboken/basewrapper_p.h
+++ b/libshiboken/basewrapper_p.h
@@ -104,6 +104,7 @@ struct SbkObjectTypePrivate
/// Type user data
void *user_data;
DeleteUserDataFunc d_func;
+ void (*subtype_init)(SbkObjectType*, PyObject*, PyObject*);
};