[Mammoth] Move most classes to the mmth namespace.

This commit is contained in:
Drew Galbraith 2023-11-22 14:59:41 -08:00
parent 5f8d577948
commit 8d730c67c1
42 changed files with 130 additions and 60 deletions

View file

@ -5,6 +5,8 @@
#include <stdint.h>
#include <zcall.h>
namespace mmth {
class PortClient {
public:
PortClient() {}
@ -29,3 +31,5 @@ template <typename T>
z_err_t PortClient::WriteMessage(const T& obj, z_cap_t cap) {
return ZPortSend(port_cap_, sizeof(obj), &obj, 1, &cap);
}
} // namespace mmth