RISC-V/V203F6P6/common/oneway.h
2025-01-25 12:21:08 +01:00

10 lines
230 B
C++

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