You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
825 B
C++
48 lines
825 B
C++
#pragma once
|
|
|
|
#include <SC_ReplyImpl.hpp>
|
|
|
|
namespace fluid{
|
|
namespace client{
|
|
|
|
void* copyReplyAddress(InterfaceTable* ft, World* inWorld, void* inreply)
|
|
{
|
|
|
|
if(! inreply) return nullptr;
|
|
|
|
ReplyAddress* reply = (ReplyAddress*)ft->fRTAlloc(inWorld, sizeof(ReplyAddress));
|
|
|
|
*reply = *(static_cast<ReplyAddress*>(inreply));
|
|
|
|
return reply;
|
|
}
|
|
|
|
void deleteReplyAddress(InterfaceTable* ft, World* inWorld, void* inreply)
|
|
{
|
|
if(! inreply) return;
|
|
ft->fRTFree(inWorld,(ReplyAddress*)inreply);
|
|
}
|
|
|
|
void* copyReplyAddress(void* inreply)
|
|
{
|
|
|
|
if(! inreply) return nullptr;
|
|
|
|
ReplyAddress* reply = new ReplyAddress();
|
|
|
|
*reply = *(static_cast<ReplyAddress*>(inreply));
|
|
|
|
return reply;
|
|
}
|
|
|
|
void deleteReplyAddress(void* inreply)
|
|
{
|
|
if(! inreply) return;
|
|
delete (ReplyAddress*)inreply;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|