Commit 0e06416
authored
* Fix signature of VCustomSource#SeekCallback (fixes #171)
Previously the offset was mistyped as a `*void`/`MemorySegment`. It was now
changed to be a `gint64`/`long`. Additionally, the `int whence`
parameter was replaced with a new `SeekWhence` enum that provides more
type safety and discoverability for implementers.
To test, a sample was added to provide a `VCustomSource` based on a
`FileHandle` that implements seeking, testing it against a TIF image.
* Regenerate docs to reflect changed API
1 parent 0d498ab commit 0e06416
File tree
18 files changed
+477
-267
lines changed- core/src/main/java/app/photofox/vipsffm
- jextract
- docs
- app.photofox.vipsffm/app/photofox/vipsffm
- jextract
- jextract_entry
- sample/src/main/kotlin/vipsffm
- sample
18 files changed
+477
-267
lines changedLines changed: 47 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
25 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
26 | 68 | | |
27 | 69 | | |
28 | 70 | | |
| |||
39 | 81 | | |
40 | 82 | | |
41 | 83 | | |
42 | | - | |
| 84 | + | |
43 | 85 | | |
44 | 86 | | |
45 | 87 | | |
| |||
78 | 120 | | |
79 | 121 | | |
80 | 122 | | |
81 | | - | |
| 123 | + | |
82 | 124 | | |
83 | 125 | | |
84 | 126 | | |
85 | 127 | | |
86 | 128 | | |
87 | | - | |
| 129 | + | |
88 | 130 | | |
89 | 131 | | |
90 | 132 | | |
91 | | - | |
| 133 | + | |
92 | 134 | | |
93 | 135 | | |
94 | 136 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments