Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
7f4938b2
Commit
7f4938b2
authored
Dec 22, 2009
by
kenton@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark plugins as experimental for now.
parent
25cf9e31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
CHANGES.txt
CHANGES.txt
+2
-0
code_generator.h
src/google/protobuf/compiler/code_generator.h
+2
-0
plugin.proto
src/google/protobuf/compiler/plugin.proto
+3
-0
No files found.
CHANGES.txt
View file @
7f4938b2
...
...
@@ -20,6 +20,8 @@
code generators. Plugins are just binaries which accept a protocol buffer
on stdin and write a protocol buffer to stdout, so they may be written in
any language. See src/google/protobuf/compiler/plugin.proto.
**WARNING**: Plugins are experimental. The interface may change in a
future version.
* inf, -inf, and nan can now be used as default values for float and double
fields.
...
...
src/google/protobuf/compiler/code_generator.h
View file @
7f4938b2
...
...
@@ -107,6 +107,8 @@ class LIBPROTOC_EXPORT OutputDirectory {
// at the given insertion point. See plugin.proto for more information on
// insertion points. The default implementation assert-fails -- it exists
// only for backwards-compatibility.
//
// WARNING: This feature is currently EXPERIMENTAL and is subject to change.
virtual
io
::
ZeroCopyOutputStream
*
OpenForInsert
(
const
string
&
filename
,
const
string
&
insertion_point
);
...
...
src/google/protobuf/compiler/plugin.proto
View file @
7f4938b2
...
...
@@ -30,6 +30,9 @@
// Author: kenton@google.com (Kenton Varda)
//
// WARNING: The plugin interface is currently EXPERIMENTAL and is subject to
// change.
//
// protoc (aka the Protocol Compiler) can be extended via plugins. A plugin is
// just a program that reads a CodeGeneratorRequest from stdin and writes a
// CodeGeneratorResponse to stdout.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment