| OLD | NEW |
| 1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
| 2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
| 3 // http://code.google.com/p/protobuf/ | 3 // https://developers.google.com/protocol-buffers/ |
| 4 // | 4 // |
| 5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
| 6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
| 7 // met: | 7 // met: |
| 8 // | 8 // |
| 9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
| 10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
| 11 // * Redistributions in binary form must reproduce the above | 11 // * Redistributions in binary form must reproduce the above |
| 12 // copyright notice, this list of conditions and the following disclaimer | 12 // copyright notice, this list of conditions and the following disclaimer |
| 13 // in the documentation and/or other materials provided with the | 13 // in the documentation and/or other materials provided with the |
| (...skipping 28 matching lines...) Expand all Loading... |
| 42 int main(int argc, char* argv[]) { | 42 int main(int argc, char* argv[]) { |
| 43 #ifdef _MSC_VER | 43 #ifdef _MSC_VER |
| 44 // Don't print a silly message or stick a modal dialog box in my face, | 44 // Don't print a silly message or stick a modal dialog box in my face, |
| 45 // please. | 45 // please. |
| 46 _set_abort_behavior(0, ~0); | 46 _set_abort_behavior(0, ~0); |
| 47 #endif // !_MSC_VER | 47 #endif // !_MSC_VER |
| 48 | 48 |
| 49 google::protobuf::compiler::MockCodeGenerator generator("test_plugin"); | 49 google::protobuf::compiler::MockCodeGenerator generator("test_plugin"); |
| 50 return google::protobuf::compiler::PluginMain(argc, argv, &generator); | 50 return google::protobuf::compiler::PluginMain(argc, argv, &generator); |
| 51 } | 51 } |
| OLD | NEW |