1 #ifndef GEANYPY_SCINTILLA_H__ 2 #define GEANYPY_SCINTILLA_H__ 3 4 extern PyTypeObject NotificationType; 5 extern PyTypeObject NotifyHeaderType; 6 7 typedef struct 8 { 9 PyObject_HEAD 10 ScintillaObject *sci; 11 } Scintilla; 12 13 typedef struct 14 { 15 PyObject_HEAD 16 SCNotification *notif; 17 } NotifyHeader; 18 19 typedef struct 20 { 21 PyObject_HEAD 22 SCNotification *notif; 23 NotifyHeader *hdr; 24 } Notification; 25 26 27 PyMODINIT_FUNC init_geany_scintilla(void); 28 Scintilla *Scintilla_create_new_from_scintilla(ScintillaObject *sci); 29 Notification *Notification_create_new_from_scintilla_notification(SCNotification *notif); 30 NotifyHeader *NotifyHeader_create_new_from_scintilla_notification(SCNotification *notif); 31 32 #endif /* GEANYPY_SCINTILLA_H__ */ 33