diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2016-04-26 17:09:25 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2016-04-26 17:09:25 +0200 |
| commit | 17a38b0f6efc4a0d847ab502773dafa9939999d8 (patch) | |
| tree | 4b0cc8c8e07e9decdc8862a06a6f6fbdeeedcb12 /gtk/scintilla-marshal.h | |
| parent | 8d4062a828ec5800b31cac519df11782d2ea4c06 (diff) | |
| download | scintilla-mirror-17a38b0f6efc4a0d847ab502773dafa9939999d8.tar.gz | |
Enable g-ir-scanner to scan ScintillaObject signals
Currently, the ScintillaObject signals can't be used from python code via
gobject-introspection. This is because g-ir-scanner does not properly scan
the signals.
For signals, there is the additional requirement that parameters have are
registered GTypes. For the sci-notify signal, this can be accomplished by
boxing SCNotification.
In addition, g-ir-scanner also runs on Scintilla.h where it picks up
additional structs.
test/gi/ is updated accordingly. The test python script is enhanced
to showcase the signals (some fixes to the makefile are included as well).
Diffstat (limited to 'gtk/scintilla-marshal.h')
| -rw-r--r-- | gtk/scintilla-marshal.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gtk/scintilla-marshal.h b/gtk/scintilla-marshal.h deleted file mode 100644 index 9116a56c9..000000000 --- a/gtk/scintilla-marshal.h +++ /dev/null @@ -1,21 +0,0 @@ - -#ifndef __scintilla_marshal_MARSHAL_H__ -#define __scintilla_marshal_MARSHAL_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -/* NONE:INT,POINTER (scintilla-marshal.list:1) */ -extern void scintilla_marshal_VOID__INT_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); -#define scintilla_marshal_NONE__INT_POINTER scintilla_marshal_VOID__INT_POINTER - -G_END_DECLS - -#endif /* __scintilla_marshal_MARSHAL_H__ */ - |
