RISC-V/V203R6/common/oneway.h

11 lines
254 B
C
Raw Normal View History

2025-01-25 10:55:11 +01:00
#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