Skip to content

Commit

Permalink
remove SIZEOF_POINTER that is no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Nov 26, 2024
1 parent a3beb7b commit 4742c9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ prk_init_picoruby(void)
{
mrbc_vm *vm = mrbc_vm_open(NULL);
/* CONST */
mrbc_sym sym_id = mrbc_str_to_symid("SIZEOF_POINTER");
mrbc_set_const(sym_id, &mrbc_integer_value(PICORBC_PTR_SIZE));
sym_id = mrbc_str_to_symid("PICORUBY_MSC");
mrbc_sym sym_id = mrbc_str_to_symid("PICORUBY_MSC");
mrbc_value picoruby_msc = mrbc_string_new_cstr(vm,
#if defined(PICORUBY_NO_MSC)
"NO_MSC"
Expand Down

0 comments on commit 4742c9e

Please sign in to comment.