Skip to content

Commit

Permalink
make more symbols public (prepare for vlang/v#23544) (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp authored Jan 22, 2025
1 parent 9143584 commit 3f8d61f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion component/grid.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum GridType {
dd_factor
}

type GridData = Factor | []bool | []f64 | []int | []string
pub type GridData = Factor | []bool | []f64 | []int | []string

@[heap]
pub struct GridComponent {
Expand Down
2 changes: 1 addition & 1 deletion component/treeview.v
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import os
const tree_sep = ':'
const root_sep = '_|||_'

type TreeItem = Tree | string
pub type TreeItem = Tree | string

pub struct Tree {
pub mut:
Expand Down
8 changes: 4 additions & 4 deletions src/button.v
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ enum ButtonState {
hovering
}

type ButtonFn = fn (&Button)
pub type ButtonFn = fn (&Button)

type ButtonU32Fn = fn (&Button, u32)
pub type ButtonU32Fn = fn (&Button, u32)

type ButtonMouseFn = fn (&Button, &MouseEvent)
pub type ButtonMouseFn = fn (&Button, &MouseEvent)

type ButtonMouseMoveFn = fn (&Button, &MouseMoveEvent)
pub type ButtonMouseMoveFn = fn (&Button, &MouseMoveEvent)

@[heap]
pub struct Button {
Expand Down
2 changes: 1 addition & 1 deletion src/chunkview.v
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub mut:
y int
}

interface ChunkContent {
pub interface ChunkContent {
mut:
bb Rect
init(cv &ChunkView)
Expand Down

0 comments on commit 3f8d61f

Please sign in to comment.