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
b790da5a
Commit
b790da5a
authored
Oct 05, 2016
by
Arkadiy Shapkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed LIBPROTOC_EXPORT for GRPC added
parent
851cb81d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
code_generator.h
src/google/protobuf/compiler/code_generator.h
+1
-1
csharp_helpers.cc
src/google/protobuf/compiler/csharp/csharp_helpers.cc
+1
-0
csharp_names.h
src/google/protobuf/compiler/csharp/csharp_names.h
+4
-3
objectivec_helpers.h
src/google/protobuf/compiler/objectivec/objectivec_helpers.h
+4
-4
No files found.
src/google/protobuf/compiler/code_generator.h
View file @
b790da5a
...
...
@@ -157,7 +157,7 @@ typedef GeneratorContext OutputDirectory;
// "foo=bar,baz,qux=corge"
// parses to the pairs:
// ("foo", "bar"), ("baz", ""), ("qux", "corge")
extern
void
ParseGeneratorParameter
(
const
string
&
,
extern
void
LIBPROTOC_EXPORT
ParseGeneratorParameter
(
const
string
&
,
std
::
vector
<
std
::
pair
<
string
,
string
>
>*
);
}
// namespace compiler
...
...
src/google/protobuf/compiler/csharp/csharp_helpers.cc
View file @
b790da5a
...
...
@@ -38,6 +38,7 @@
#include <vector>
#include <google/protobuf/compiler/csharp/csharp_helpers.h>
#include <google/protobuf/compiler/csharp/csharp_names.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/wire_format.h>
...
...
src/google/protobuf/compiler/csharp/csharp_names.h
View file @
b790da5a
...
...
@@ -39,6 +39,7 @@
#define GOOGLE_PROTOBUF_COMPILER_CSHARP_NAMES_H__
#include <string>
#include <google/protobuf/stubs/port.h>
namespace
google
{
namespace
protobuf
{
...
...
@@ -56,14 +57,14 @@ namespace csharp {
//
// Returns:
// The namespace to use for given file descriptor.
string
GetFileNamespace
(
const
FileDescriptor
*
descriptor
);
string
LIBPROTOC_EXPORT
GetFileNamespace
(
const
FileDescriptor
*
descriptor
);
// Requires:
// descriptor != NULL
//
// Returns:
// The fully-qualified C# class name.
string
GetClassName
(
const
Descriptor
*
descriptor
);
string
LIBPROTOC_EXPORT
GetClassName
(
const
Descriptor
*
descriptor
);
// Requires:
// descriptor != NULL
...
...
@@ -72,7 +73,7 @@ string GetClassName(const Descriptor* descriptor);
// The fully-qualified name of the C# class that provides
// access to the file descriptor. Proto compiler generates
// such class for each .proto file processed.
string
GetReflectionClassName
(
const
FileDescriptor
*
descriptor
);
string
LIBPROTOC_EXPORT
GetReflectionClassName
(
const
FileDescriptor
*
descriptor
);
// Generates output file name for given file descriptor. If generate_directories
// is true, the output file will be put under directory corresponding to file's
...
...
src/google/protobuf/compiler/objectivec/objectivec_helpers.h
View file @
b790da5a
...
...
@@ -87,8 +87,8 @@ string FileClassName(const FileDescriptor* file);
// These return the fully-qualified class name corresponding to the given
// descriptor.
string
ClassName
(
const
Descriptor
*
descriptor
);
string
ClassName
(
const
Descriptor
*
descriptor
,
string
*
out_suffix_added
);
string
LIBPROTOC_EXPORT
ClassName
(
const
Descriptor
*
descriptor
);
string
LIBPROTOC_EXPORT
ClassName
(
const
Descriptor
*
descriptor
,
string
*
out_suffix_added
);
string
EnumName
(
const
EnumDescriptor
*
descriptor
);
// Returns the fully-qualified name of the enum value corresponding to the
...
...
@@ -189,13 +189,13 @@ string BuildCommentsString(const SourceLocation& location,
// The name the commonly used by the library when built as a framework.
// This lines up to the name used in the CocoaPod.
extern
const
char
*
const
ProtobufLibraryFrameworkName
;
extern
LIBPROTOC_EXPORT
const
char
*
const
ProtobufLibraryFrameworkName
;
// Returns the CPP symbol name to use as the gate for framework style imports
// for the given framework name to use.
string
ProtobufFrameworkImportSymbol
(
const
string
&
framework_name
);
// Checks if the file is one of the proto's bundled with the library.
bool
IsProtobufLibraryBundledProtoFile
(
const
FileDescriptor
*
file
);
bool
LIBPROTOC_EXPORT
IsProtobufLibraryBundledProtoFile
(
const
FileDescriptor
*
file
);
// Checks the prefix for the given files and outputs any warnings as needed. If
// there are flat out errors, then out_error is filled in with the first error
...
...
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