Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
mikea committed Jun 11, 2024
1 parent 29a7501 commit c32caac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/inter.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ struct dict_entry {

void global_dict_add_new(dict_entry&& e);

using ffi1_table = std::array<ffi, T_MAX>;
using ffi2_table = std::array<ffi1_table, T_MAX>;

// interpreter

using dict_t = std::vector<dict_entry>;
Expand Down
3 changes: 0 additions & 3 deletions src/words.c++
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

// common utilities

using ffi1_table = std::array<ffi, T_MAX>;
using ffi2_table = std::array<ffi1_table, T_MAX>;

void global_dict_add_ffi1(str n, const ffi1_table& ffi) {
global_dict_add_new({string(n), array::create(T_FFI, ffi.size(), ffi.begin())});
}
Expand Down

0 comments on commit c32caac

Please sign in to comment.