Skip to content

Commit 3f8d61f

Browse files
authored
make more symbols public (prepare for vlang/v#23544) (#594)
1 parent 9143584 commit 3f8d61f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Diff for: component/grid.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ enum GridType {
1919
dd_factor
2020
}
2121

22-
type GridData = Factor | []bool | []f64 | []int | []string
22+
pub type GridData = Factor | []bool | []f64 | []int | []string
2323

2424
@[heap]
2525
pub struct GridComponent {

Diff for: component/treeview.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import os
77
const tree_sep = ':'
88
const root_sep = '_|||_'
99

10-
type TreeItem = Tree | string
10+
pub type TreeItem = Tree | string
1111

1212
pub struct Tree {
1313
pub mut:

Diff for: src/button.v

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ enum ButtonState {
2020
hovering
2121
}
2222

23-
type ButtonFn = fn (&Button)
23+
pub type ButtonFn = fn (&Button)
2424

25-
type ButtonU32Fn = fn (&Button, u32)
25+
pub type ButtonU32Fn = fn (&Button, u32)
2626

27-
type ButtonMouseFn = fn (&Button, &MouseEvent)
27+
pub type ButtonMouseFn = fn (&Button, &MouseEvent)
2828

29-
type ButtonMouseMoveFn = fn (&Button, &MouseMoveEvent)
29+
pub type ButtonMouseMoveFn = fn (&Button, &MouseMoveEvent)
3030

3131
@[heap]
3232
pub struct Button {

Diff for: src/chunkview.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub mut:
2121
y int
2222
}
2323

24-
interface ChunkContent {
24+
pub interface ChunkContent {
2525
mut:
2626
bb Rect
2727
init(cv &ChunkView)

0 commit comments

Comments
 (0)