diff cpp/qt_core/QModelIndex_shell.cpp @ 357:9784459f0750

An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables Q_CLASSINFO implementation Now Qtd can be built on Windows
author Max Samukha <maxter@spambox.com>
date Wed, 02 Jun 2010 19:38:05 +0300
parents e78566595089
children d2f48c4cb3e3
line wrap: on
line diff
--- a/cpp/qt_core/QModelIndex_shell.cpp	Tue May 25 20:14:04 2010 +0300
+++ b/cpp/qt_core/QModelIndex_shell.cpp	Wed Jun 02 19:38:05 2010 +0300
@@ -6,14 +6,14 @@
 
 #include "qtd_core.h"
 
-extern "C" DLL_PUBLIC void __qtd_QModelIndex_destructor(void *ptr)
+QTD_EXTERN QTD_DLL_PUBLIC void __qtd_QModelIndex_destructor(void *ptr)
 {
     delete (QModelIndex *)ptr;
 }
 
 // ---externC---
 // QModelIndex::QModelIndex()
-extern "C" DLL_PUBLIC void* __qtd_QModelIndex_QModelIndex
+QTD_EXTERN QTD_DLL_PUBLIC void* __qtd_QModelIndex_QModelIndex
 ()
 {
     QModelIndex *__qt_this = new QModelIndex();
@@ -22,7 +22,7 @@
 }
 
 // QModelIndex::QModelIndex(const QModelIndex & other)
-extern "C" DLL_PUBLIC void* __qtd_QModelIndex_QModelIndex_QModelIndex
+QTD_EXTERN QTD_DLL_PUBLIC void* __qtd_QModelIndex_QModelIndex_QModelIndex
 (QModelIndex other0)
 {
     QModelIndex *__qt_this = new QModelIndex((const QModelIndex& )other0);
@@ -31,7 +31,7 @@
 }
 
 // QModelIndex::child(int row, int column) const
-extern "C" DLL_PUBLIC QModelIndex __qtd_QModelIndex_child_int_int
+QTD_EXTERN QTD_DLL_PUBLIC QModelIndex __qtd_QModelIndex_child_int_int
 (void* __this_nativeId,
  int row0,
  int column1)
@@ -44,7 +44,7 @@
 }
 
 // QModelIndex::column() const
-extern "C" DLL_PUBLIC int __qtd_QModelIndex_column
+QTD_EXTERN QTD_DLL_PUBLIC int __qtd_QModelIndex_column
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -56,7 +56,7 @@
 }
 
 // QModelIndex::data(int role) const
-extern "C" DLL_PUBLIC void* __qtd_QModelIndex_data_int
+QTD_EXTERN QTD_DLL_PUBLIC void* __qtd_QModelIndex_data_int
 (void* __this_nativeId,
  int role0)
 {
@@ -69,7 +69,7 @@
 }
 
 // QModelIndex::flags() const
-extern "C" DLL_PUBLIC int __qtd_QModelIndex_flags
+QTD_EXTERN QTD_DLL_PUBLIC int __qtd_QModelIndex_flags
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -81,7 +81,7 @@
 }
 
 // QModelIndex::internalId() const
-extern "C" DLL_PUBLIC qint64 __qtd_QModelIndex_internalId
+QTD_EXTERN QTD_DLL_PUBLIC qint64 __qtd_QModelIndex_internalId
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -93,7 +93,7 @@
 }
 
 // QModelIndex::internalPointer() const
-extern "C" DLL_PUBLIC void* __qtd_QModelIndex_internalPointer
+QTD_EXTERN QTD_DLL_PUBLIC void* __qtd_QModelIndex_internalPointer
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -105,7 +105,7 @@
 }
 
 // QModelIndex::isValid() const
-extern "C" DLL_PUBLIC bool __qtd_QModelIndex_isValid
+QTD_EXTERN QTD_DLL_PUBLIC bool __qtd_QModelIndex_isValid
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -117,7 +117,7 @@
 }
 
 // QModelIndex::model() const
-extern "C" DLL_PUBLIC void* __qtd_QModelIndex_model
+QTD_EXTERN QTD_DLL_PUBLIC void* __qtd_QModelIndex_model
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -129,7 +129,7 @@
 }
 
 // QModelIndex::operator<(const QModelIndex & other) const
-extern "C" DLL_PUBLIC bool __qtd_QModelIndex_operator_less_QModelIndex
+QTD_EXTERN QTD_DLL_PUBLIC bool __qtd_QModelIndex_operator_less_QModelIndex
 (void* __this_nativeId,
  QModelIndex other0)
 {
@@ -142,7 +142,7 @@
 }
 
 // QModelIndex::operator==(const QModelIndex & other) const
-extern "C" DLL_PUBLIC bool __qtd_QModelIndex_operator_equal_QModelIndex
+QTD_EXTERN QTD_DLL_PUBLIC bool __qtd_QModelIndex_operator_equal_QModelIndex
 (void* __this_nativeId,
  QModelIndex other0)
 {
@@ -155,7 +155,7 @@
 }
 
 // QModelIndex::parent() const
-extern "C" DLL_PUBLIC QModelIndex __qtd_QModelIndex_parent
+QTD_EXTERN QTD_DLL_PUBLIC QModelIndex __qtd_QModelIndex_parent
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -166,7 +166,7 @@
 }
 
 // QModelIndex::row() const
-extern "C" DLL_PUBLIC int __qtd_QModelIndex_row
+QTD_EXTERN QTD_DLL_PUBLIC int __qtd_QModelIndex_row
 (void* __this_nativeId)
 {
     QModelIndex *__qt_this = (QModelIndex *) __this_nativeId;
@@ -178,7 +178,7 @@
 }
 
 // QModelIndex::sibling(int row, int column) const
-extern "C" DLL_PUBLIC QModelIndex __qtd_QModelIndex_sibling_int_int
+QTD_EXTERN QTD_DLL_PUBLIC QModelIndex __qtd_QModelIndex_sibling_int_int
 (void* __this_nativeId,
  int row0,
  int column1)