WeChatFerry/Rpc/rpc_memory.cpp

10 lines
358 B
C++
Raw Normal View History

2021-02-12 23:21:57 +08:00
#include <windows.h>
/******************************************************/
/* MIDL allocate and free */
/******************************************************/
void __RPC_FAR *__RPC_USER midl_user_allocate(size_t len) { return (malloc(len)); }
void __RPC_USER midl_user_free(void __RPC_FAR *ptr) { free(ptr); }