Skip to content
Snippets Groups Projects
Commit 73eb7957 authored by pippin's avatar pippin
Browse files

uctx: bind gstate_protect and gstate_unprotect

parent 345a6bc8
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !153. Comments created here will be created in the context of that merge request.
......@@ -198,6 +198,8 @@ MP_CTX_TEXT_FUN(parse);
MP_CTX_COMMON_FUN_0(begin_path);
MP_CTX_COMMON_FUN_0(save);
MP_CTX_COMMON_FUN_0(restore);
MP_CTX_COMMON_FUN_0(gstate_protect);
MP_CTX_COMMON_FUN_0(gstate_unprotect);
MP_CTX_COMMON_FUN_0(start_frame);
MP_CTX_COMMON_FUN_0(end_frame);
......@@ -839,6 +841,8 @@ static const mp_rom_map_elem_t mp_ctx_locals_dict_table[] = {
MP_CTX_METHOD(image),
MP_CTX_METHOD(save),
MP_CTX_METHOD(restore),
MP_CTX_METHOD(gstate_protect),
MP_CTX_METHOD(gstate_unprotect),
MP_CTX_METHOD(start_frame),
MP_CTX_METHOD(end_frame),
MP_CTX_METHOD(get_font_name),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment