提交 1bf0a355 编写于 作者: 饶先宏's avatar 饶先宏

202107101538

上级 3cdbaeb3
......@@ -32,6 +32,7 @@
修改记录:
202105140816:rxh 根据git的要求增加License
202107081052:rxh 修改object.h支持用c++实现LCOM对象
202107101536: rxh 修改INTERFACE_HEADER中__thisoffset的描述,避免出现从指针到int的截断警告
*/
......@@ -382,7 +383,7 @@ int str2iid(const char* str, IIDTYPE iid);
CFUNC int (*A_u_t_o_registor_##_obj)() = _obj##Register;
#define INTERFACE_HEADER(_obj, __interface, _localstruct) \
(int)&(((const _localstruct*)0)->__##__interface##_ptr), \
(int)((unsigned char *)&(((const _localstruct*)0)->__##__interface##_ptr) - (unsigned char *)0), \
_obj##QueryInterface, \
_obj##AddRef, \
_obj##Release, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册