Loading...
Searching...
No Matches
mp_riot.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Kaspar Schleiser <kaspar@schleiser.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
17
18#pragma once
19
20#include "py/obj.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
36void mp_riot_call_function_safe(mp_obj_t callback);
37
38#ifdef __cplusplus
39}
40#endif
void mp_riot_call_function_safe(mp_obj_t callback)
Call a MicroPython callable from RIOT C code, safely.