Created
January 25, 2018 20:59
-
-
Save scalone/bf19be17c1a8de36cf0f440fcbd8be69 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(void) | |
{ | |
mrbc_context *c; | |
mrb_state *mrb; | |
mrb_allocf allocf; | |
void *ud; | |
context_memprof_init(&allocf, &ud); | |
mrb = mrb_open_allocf(allocf, ud); | |
c = mrbc_context_new(mrb); | |
mrb_load_string_cxt(mrb, "puts('TEM QUE ACABAR A JUSTICA')", c); | |
mrbc_context_free(mrb, c); | |
mrb_close(mrb); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment