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
2a89d002
Commit
2a89d002
authored
Jul 05, 2011
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing dll export macros.
parent
f36ae07c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
plugin.h
src/google/protobuf/compiler/plugin.h
+1
-1
subprocess.h
src/google/protobuf/compiler/subprocess.h
+1
-1
generated_message_util.h
src/google/protobuf/generated_message_util.h
+3
-3
repeated_field.h
src/google/protobuf/repeated_field.h
+1
-1
No files found.
src/google/protobuf/compiler/plugin.h
View file @
2a89d002
...
@@ -64,7 +64,7 @@ namespace compiler {
...
@@ -64,7 +64,7 @@ namespace compiler {
class
CodeGenerator
;
// code_generator.h
class
CodeGenerator
;
// code_generator.h
// Implements main() for a protoc plugin exposing the given code generator.
// Implements main() for a protoc plugin exposing the given code generator.
int
PluginMain
(
int
argc
,
char
*
argv
[],
const
CodeGenerator
*
generator
);
LIBPROTOC_EXPORT
int
PluginMain
(
int
argc
,
char
*
argv
[],
const
CodeGenerator
*
generator
);
}
// namespace compiler
}
// namespace compiler
}
// namespace protobuf
}
// namespace protobuf
...
...
src/google/protobuf/compiler/subprocess.h
View file @
2a89d002
...
@@ -53,7 +53,7 @@ class Message;
...
@@ -53,7 +53,7 @@ class Message;
namespace
compiler
{
namespace
compiler
{
// Utility class for launching sub-processes.
// Utility class for launching sub-processes.
class
Subprocess
{
class
LIBPROTOC_EXPORT
Subprocess
{
public
:
public
:
Subprocess
();
Subprocess
();
~
Subprocess
();
~
Subprocess
();
...
...
src/google/protobuf/generated_message_util.h
View file @
2a89d002
...
@@ -68,11 +68,11 @@ namespace internal {
...
@@ -68,11 +68,11 @@ namespace internal {
// Constants for special floating point values.
// Constants for special floating point values.
double
Infinity
();
LIBPROTOBUF_EXPORT
double
Infinity
();
double
NaN
();
LIBPROTOBUF_EXPORT
double
NaN
();
// Constant used for empty default strings.
// Constant used for empty default strings.
extern
const
::
std
::
string
kEmptyString
;
LIBPROTOBUF_EXPORT
extern
const
::
std
::
string
kEmptyString
;
}
// namespace internal
}
// namespace internal
...
...
src/google/protobuf/repeated_field.h
View file @
2a89d002
...
@@ -305,7 +305,7 @@ class LIBPROTOBUF_EXPORT StringTypeHandlerBase {
...
@@ -305,7 +305,7 @@ class LIBPROTOBUF_EXPORT StringTypeHandlerBase {
static
void
Merge
(
const
string
&
from
,
string
*
to
)
{
*
to
=
from
;
}
static
void
Merge
(
const
string
&
from
,
string
*
to
)
{
*
to
=
from
;
}
};
};
class
LIBPROTOBUF_EXPORT
StringTypeHandler
:
public
StringTypeHandlerBase
{
class
StringTypeHandler
:
public
StringTypeHandlerBase
{
public
:
public
:
static
int
SpaceUsed
(
const
string
&
value
)
{
static
int
SpaceUsed
(
const
string
&
value
)
{
return
sizeof
(
value
)
+
StringSpaceUsedExcludingSelf
(
value
);
return
sizeof
(
value
)
+
StringSpaceUsedExcludingSelf
(
value
);
...
...
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