16 lines
345 B
C
16 lines
345 B
C
// This file is part of the CircuitPython project: https://circuitpython.org
|
|
//
|
|
// SPDX-FileCopyrightText: Copyright (c) 2020 by kvc0/WarriorOfWire
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include "py/obj.h"
|
|
|
|
typedef void event_function(mp_obj_t obj);
|
|
|
|
typedef struct {
|
|
mp_obj_t obj;
|
|
event_function *event;
|
|
} vectorio_event_t;
|