Skip to content

Commit

Permalink
make ffi functions private
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Apr 15, 2024
1 parent 929ece6 commit 662b188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/birl.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ fn ffi_monotonic_now() -> Int

@external(erlang, "birl_ffi", "to_parts")
@external(javascript, "./birl_ffi.mjs", "to_parts")
pub fn ffi_to_parts(
fn ffi_to_parts(
timestamp: Int,
offset: Int,
) -> #(#(Int, Int, Int), #(Int, Int, Int, Int)) {
Expand Down Expand Up @@ -1603,7 +1603,7 @@ pub fn ffi_to_parts(

@external(erlang, "birl_ffi", "from_parts")
@external(javascript, "./birl_ffi.mjs", "from_parts")
pub fn ffi_from_parts(
fn ffi_from_parts(
parts: #(#(Int, Int, Int), #(Int, Int, Int, Int)),
offset: Int,
) -> Int {
Expand Down

0 comments on commit 662b188

Please sign in to comment.