We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include "Demo.tars" module Demo { enum MsgResultCode { MsgResultSuccess = 0 }; }; module DemoV2_1 { struct DemoExtend { 0 optional string ip; // ip }; }; module DemoV2 { struct DemoRoom { 0 optional long id; // 全局唯一id }; }; module DemoV2_1 { struct Demo { 1 optional long id; // 全局唯一id }; };
如果 Demo.tars 不在当前目录,编译不过,在c++ tars2cpp里面,支持--include参数,指定include查找路径,tars2go不支持 一个文件多个module定义,目前编译不同,在c++ tars2cpp中支持,tars2go不支持
The text was updated successfully, but these errors were encountered:
tars2go支持include参数 和 单文件定义多个模块 #296
Sorry, something went wrong.
相关pr: #296 #316
No branches or pull requests
如果 Demo.tars 不在当前目录,编译不过,在c++ tars2cpp里面,支持--include参数,指定include查找路径,tars2go不支持
一个文件多个module定义,目前编译不同,在c++ tars2cpp中支持,tars2go不支持
The text was updated successfully, but these errors were encountered: