RISC-V/V203R6/common/oneway.h
2025-01-25 10:55:11 +01:00

10 lines
254 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, const bool low = false) = 0;
};
#endif // ONEWAY_H