Skip to content

Commit 3b54b42

Browse files
committed
Generate bindings automatically.
1 parent 7d8d143 commit 3b54b42

File tree

261 files changed

+3
-523
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+3
-523
lines changed

.github/workflows/swift.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
python ci/fix_header_includes.py
6767
- name: Generate (copy for debugging) Swift bindings and copy batteries
6868
run: |
69-
# python ./ # Generate bindings
69+
python ./ # Generate bindings
7070
7171
# TODO: switch back to generation method after debugging
72-
mkdir -p ci/LDKSwift/Sources/LDKSwift
73-
cp -a bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
72+
# mkdir -p ci/LDKSwift/Sources/LDKSwift
73+
# cp -a bindings/LDK/. ci/LDKSwift/Sources/LDKSwift
7474
7575
cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift
7676
env:

bindings/LDK/options/APIError.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class APIError: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/ErrorAction.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class ErrorAction: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/Event.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class Event: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/Fallback.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class Fallback: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/HTLCFailChannelUpdate.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class HTLCFailChannelUpdate: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/MessageSendEvent.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class MessageSendEvent: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/MonitorEvent.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class MonitorEvent: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/NetAddress.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class NetAddress: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

bindings/LDK/options/Option_C2Tuple_usizeTransactionZZ.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import LDKHeaders
2-
31
public class Option_C2Tuple_usizeTransactionZZ: NativeTypeWrapper {
42

53
private static var instanceCounter: UInt = 0

0 commit comments

Comments
 (0)