Mercurial > projects > qtd
comparison include/qtd_core.h @ 301:4d8481385c71 signals
windows fix
author | eldar |
---|---|
date | Tue, 08 Dec 2009 21:13:24 +0000 |
parents | adae77fdc1ea |
children | 98b211f3ee34 |
comparison
equal
deleted
inserted
replaced
300:c2c70e501860 | 301:4d8481385c71 |
---|---|
79 #endif | 79 #endif |
80 | 80 |
81 extern "C" QModelIndex qtd_to_QModelIndex(QModelIndexAccessor mia); | 81 extern "C" QModelIndex qtd_to_QModelIndex(QModelIndexAccessor mia); |
82 extern "C" QModelIndexAccessor qtd_from_QModelIndex(const QModelIndex &index); | 82 extern "C" QModelIndexAccessor qtd_from_QModelIndex(const QModelIndex &index); |
83 | 83 |
84 extern "C" typedef void (*EmitCallback)(void*, void**); | |
85 extern "C" typedef int (*QtMetacallCallback)(void *d_entity, QMetaObject::Call _c, int _id, void **_a); | |
86 | |
84 template <class T> | 87 template <class T> |
85 void call_destructor(T *a) | 88 void call_destructor(T *a) |
86 { | 89 { |
87 a->~T(); | 90 a->~T(); |
88 } | 91 } |