3a63a129ae
Merge pull request #124 from arnetheduck/cgo-export
...
Avoid dependency on exported go header
2025-01-11 15:21:00 +13:00
Jacek Sieka
a0c6344ecd
Avoid dependency on exported go header
...
The expected type of the callback is already known from the AST - this
change reduces dependency on cgo specifics and makes the generated C ABI
entirely cgo-independent - in particular, there is no need to include
`_cgo_export.h` any more.
2025-01-07 12:55:40 +01:00
Jacek Sieka
765592cca2
Small fixes
...
* `stdlib` is not used / needed
* `miqt_strdup` doesn't exist
* consistently use nameprefix for `_ret`
2025-01-07 09:29:45 +01:00
81dd216f13
genbindings: add qfloat16 exceptions
2025-01-04 12:47:53 +13:00
ad635b2b38
genbindings: support conversion operators
2025-01-04 12:18:54 +13:00
Jacek Sieka
60cb03785f
genbindings: fix race condition in clang output pipe
2025-01-04 10:39:54 +13:00
dba031643c
genbindings: move all large int constants to a 64-bit only build file
2024-12-31 16:48:28 +13:00
641dbd6d21
genbindings/cabi: add automatic -D_Bool=bool handling
2024-12-11 19:55:32 +13:00
5a7a46e28f
genbindings: use separate virtbase helper to get base pointers
2024-12-07 17:44:27 +13:00
1baf7342e5
genbindings: merge codepaths for go return value construction
2024-12-07 15:00:03 +13:00
5271f8d4a1
genbindings: panic when trying to override methods on non-subclass
2024-12-07 14:18:47 +13:00
6b2935add1
webengine: add genbindings integration
2024-11-27 18:16:40 +13:00
9d587fdadf
genbindings/go: avoid name collisions between enums and enum entries
2024-11-27 18:12:40 +13:00
5b25ae9cad
genbindings: enums by reference also need c-style cast
2024-11-27 18:00:23 +13:00
db5fadaeb7
webkit: add genbindings support
2024-11-26 22:31:23 +13:00
bfbaeaf514
genbindings: add missing header includes for some container types
2024-11-26 20:09:30 +13:00
d28621c941
qtscript: genbindings configuration
2024-11-26 19:55:10 +13:00
fc47abea0e
svg: add genbindings configuration
2024-11-26 19:52:58 +13:00
25e10f2824
genbindings/cabi: QFlags<>& use C-style cast
2024-11-26 19:52:29 +13:00
13deba55b7
genbindings/config: do not subclass platform-specific QAbstractEventDispatcher
2024-11-23 21:11:24 +13:00
7f2e4d07df
genbindings/config: prevent some classes from subclassing
2024-11-23 19:34:38 +13:00
a5dafbf132
genbindings: fix trying to add super parameters for pure virtual methods
2024-11-23 19:34:22 +13:00
756086cd50
genbindings: enforce AllowVirtualForClass at construction time
2024-11-23 19:34:05 +13:00
c36d14c540
genbindings: allow some classes to inherit from QList<>
2024-11-23 19:32:09 +13:00
4997641327
genbindings: allow subclassing abstract classes
2024-11-23 19:31:27 +13:00
f45604ee13
genbindings: move QAccessibleWidget hack into standard config
2024-11-23 18:05:15 +13:00
6e0c417f00
genbindings/config: update for Qt 6.8
2024-11-22 19:05:48 +13:00
2a502f24ff
genbindings: change simple operator== to use infix syntax
2024-11-22 18:58:56 +13:00
bbc75b8ef1
linuxonly: fix ifdef quirks for building on windows
2024-11-19 20:45:45 +13:00
392a92434a
genbindings/config: omit QxxPrivate::xx
2024-11-19 20:00:40 +13:00
b50870b9d9
genbindings: intptr_t-qintptr pointer casts require C-style casts
2024-11-19 20:00:35 +13:00
90de7178f2
genbindings: fix some cases of missing :: escaping
2024-11-19 19:59:55 +13:00
40abeecd54
genbindings/subclassing: accurate pointer type management for subclasses
2024-11-19 19:28:30 +13:00
6fa97722c5
genbindings: delete either subclass or direct class
2024-11-19 19:28:00 +13:00
fb56258334
genbindings: constructors return every subclass pointer
2024-11-19 19:27:19 +13:00
eca87471ee
genbindings/types: pointer and return type fixes
2024-11-19 19:25:48 +13:00
c6381d40e8
genbindings/util: add slice_copy helper
2024-11-19 19:24:57 +13:00
8d1c871de3
genbindings/inherits: direct vs indirect inheritance
2024-11-19 19:24:50 +13:00
943ccf7b3a
genbindings: subclass support for all virtual methods (3/3)
2024-11-19 19:17:37 +13:00
58f212303e
genbindings: subclass support for all virtual methods (2/3)
2024-11-19 19:17:37 +13:00
2ae1e6090c
genbindings/clang2il: detect pure virtual, detect overrides
2024-11-19 19:17:36 +13:00
d25301c910
genbindings: track private methods, exclude from virtual overrides
2024-11-19 19:17:36 +13:00
aa2fdf98ca
genbindings: subclass support for all virtual methods (1/3)
2024-11-19 19:17:36 +13:00
9b37750d64
genbindings: support protected methods
2024-11-19 19:17:36 +13:00
47d4581628
Merge pull request #83 from mappu/miqt-lockosthread
...
Call runtime.LockOSThread() automatically for the Qt main thread
2024-11-19 17:48:34 +13:00
fe6e9ce30b
genbindings/qapplication: use LockOSThread() to bind Qt main thread
2024-11-18 19:28:36 +13:00
Rick Calixte
92208545df
Modify qt6/cbor for proper builds
...
Tested with Debian 12 and Qt 6.4
2024-11-17 11:22:24 -05:00
ae70105920
QDeadlineTimer: remove non-public method
2024-11-17 19:33:38 +13:00
2f99f450a5
genbindings/enums: remove some excess logging
2024-11-17 19:18:08 +13:00
d07996d2ed
genbindings/headers: more detailed include guards, use pragma once
2024-11-17 19:18:02 +13:00