Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing symbols to be marked as public #594

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading