MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / MessageInterface

Method MessageInterface

Kernel/src/objects/interface.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <scheduler.h>
5
6MessageInterface::MessageInterface(const char* _name, uint16_t msgSize){
7 name = strdup(_name);
8
9 if(msgSize > MessageEndpoint::maxMessageSizeLimit){
10 msgSize = MessageEndpoint::maxMessageSizeLimit;
11 }
12
13 this->msgSize = msgSize;
14}
15
16MessageInterface::~MessageInterface(){
17 Destroy();

Callers

nothing calls this directly

Calls 1

strdupFunction · 0.85

Tested by

no test coverage detected