RISC-V/V203/common/oneway.h
2024-05-07 15:50:51 +02:00

10 lines
216 B
C++

#ifndef ONEWAY_H
#define ONEWAY_H
#include <stdint.h>
/* C++ interface (jako callback v C) */
class OneWay {
public:
virtual unsigned Send (uint16_t * const ptr, const unsigned len) = 0;
};
#endif // ONEWAY_H