Created
January 11, 2018 16:36
-
-
Save JohnMurray/8651ee1895a2a594fdd1afa3a6e99221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <google/protobuf/arena.h> | |
using namespace google::protobuf; | |
void main() { | |
Arena arena; | |
auto msg = Arena::CreateMessage<MyProto>(&arena); | |
setup_myproto(msg); | |
push_to_queue(msg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment