Skip to content
Discussion options

You must be logged in to vote

I resolved the problem adapting the syntax to cpp:

// from
MP_DEFINE_CONST_FUN_OBJ_3(agros_dict_set_obj, agros_dict_set);

// to
const mp_obj_fun_builtin_fixed_t agros_dict_set_obj =
    {{&mp_type_fun_builtin_3}, { ._3 = agros_dict_set }};

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mo-FEAR
Comment options

Answer selected by danimasa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants