Skip to content

Commit 4742c9e

Browse files
committed
remove SIZEOF_POINTER that is no longer necessary
1 parent a3beb7b commit 4742c9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ prk_init_picoruby(void)
5757
{
5858
mrbc_vm *vm = mrbc_vm_open(NULL);
5959
/* CONST */
60-
mrbc_sym sym_id = mrbc_str_to_symid("SIZEOF_POINTER");
61-
mrbc_set_const(sym_id, &mrbc_integer_value(PICORBC_PTR_SIZE));
62-
sym_id = mrbc_str_to_symid("PICORUBY_MSC");
60+
mrbc_sym sym_id = mrbc_str_to_symid("PICORUBY_MSC");
6361
mrbc_value picoruby_msc = mrbc_string_new_cstr(vm,
6462
#if defined(PICORUBY_NO_MSC)
6563
"NO_MSC"

0 commit comments

Comments
 (0)