summaryrefslogtreecommitdiffstats
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>2010-12-03 16:53:26 -0200
commit07f1fe9dc97e05247043b3e579d94d323a2a48dc (patch)
tree40023477986a1ef6ea874464aa6ccc3b7139e38d /libshiboken/basewrapper_p.h
parenta5146ad246af19703671451451564e613e509463 (diff)
downloadshiboken-07f1fe9dc97e05247043b3e579d94d323a2a48dc.tar.gz
shiboken-07f1fe9dc97e05247043b3e579d94d323a2a48dc.tar.xz
shiboken-07f1fe9dc97e05247043b3e579d94d323a2a48dc.zip
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 05208848..f4ab6e65 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*);
};