Mercurial > mxe-octave
annotate src/protobuf-test.cpp @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | a69eb5b6d9a5 |
children |
rev | line source |
---|---|
2746
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
1 #include <google/protobuf/stubs/common.h> |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
2 |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
3 int |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
4 main() |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
5 { |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
6 GOOGLE_PROTOBUF_VERIFY_VERSION; |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
7 google::protobuf::ShutdownProtobufLibrary(); |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
8 return 0; |
a69eb5b6d9a5
Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff
changeset
|
9 } |