comparison generator/typesystem_network.xml @ 248:7664de4a55e5

Fixed #23. QtD_QObjectEntity is not created dynamically for shell classes any more. Class initialization is now performed by static constructors. When wrapping QObjects returned from functions, their run-time types are now taken into account. QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges) Minor changes (including unnecessary).
author maxter
date Thu, 20 Aug 2009 14:47:17 +0000
parents a5cba313c924
children 37eed70de029
comparison
equal deleted inserted replaced
247:27497bbe62a1 248:7664de4a55e5
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <typesystem package="qt.network" default-superclass="QtDObject"> 2 <typesystem package="qt.network" default-superclass="QtdObject">
3 <inject-code> 3 <inject-code>
4 qt.Utilities.loadQtLibrary("QtNetwork"); 4 qt.Utilities.loadQtLibrary("QtNetwork");
5 </inject-code> 5 </inject-code>
6 <template name="network.read_char*_long_long"> 6 <template name="network.read_char*_long_long">
7 public final int read(byte data[]) { 7 public final int read(byte data[]) {