Skip to content

Commit

Permalink
format changes to nif
Browse files Browse the repository at this point in the history
  • Loading branch information
cortfritz committed Dec 1, 2024
1 parent 4c95445 commit c9a05ed
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/nif.ex
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,19 @@ defmodule Yex.Nif do
def undo_manager_expand_scope(_undo_manager, _scope), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_exclude_origin(_undo_manager, _origin), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_stop_capturing(_undo_manager), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_add_observer(_undo_manager, _observer_module, _observer_pid), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_update_stack_item(_undo_manager, _stack_item), do: :erlang.nif_error(:nif_not_loaded)

def undo_manager_add_observer(_undo_manager, _observer_module, _observer_pid),
do: :erlang.nif_error(:nif_not_loaded)

def undo_manager_update_stack_item(_undo_manager, _stack_item),
do: :erlang.nif_error(:nif_not_loaded)

def undo_manager_get_meta(_undo_manager), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_set_meta(_undo_manager, _meta), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_clear(_undo_manager), do: :erlang.nif_error(:nif_not_loaded)
def undo_manager_new_with_options(_doc, _scope, _options), do: :erlang.nif_error(:nif_not_loaded)

def undo_manager_new_with_options(_doc, _scope, _options),
do: :erlang.nif_error(:nif_not_loaded)
end

defmodule Yex.Nif.Util do
Expand Down

0 comments on commit c9a05ed

Please sign in to comment.