Exemplo n.º 1
0
def MPI_Comm_free_keyval(context, args):
    keyval_ptr = args[0]
    keyval_id = context.controller.read_int(keyval_ptr)
    keyval = check.check_keyval(context, keyval_id, 1)
    context.state.remove_keyval(keyval)
    context.controller.write_int(keyval_ptr, consts.MPI_KEYVAL_INVALID)
    return False
Exemplo n.º 2
0
 def convert(cls, value, arg_position, context):
     return check.check_keyval(context, value, arg_position)