Comment #3 on issue 332 by ryan.br...@themoox.net: Allow for default values
that are marked "set"
http://code.google.com/p/protobuf/issues/detail?id=332
Sorry, I should have specified what language I'm working in. I'm using C++
for this (2.4.0a), so it's related to code generated from proto
Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium
New issue 333 by yvara...@google.com: Wrong syntax pattern in
editors/proto.vim
http://code.google.com/p/protobuf/issues/detail?id=333
What steps will reproduce the problem?
1. create a .proto file
2. write a string, co
when you running The C++ implementation for Python.
>>> from proto import test_pb2
>>> r = tes_pb2.SkillResult()
>>> import gc
>>> gc.set_debug(gc.DEBUG_LEAK)
>>> gc.garbage
[]
>>> gc.collect()
0
>>> gc.set_debug(gc.DEBUG_LEAK)
>>> gc.collect()
0
>>> del r
>>> gc.collect()
gc: collectable
gc: col
May Im just being stupid, but this is seems only for C functions --
and wont the compiler (PROTO) generated class require calling c++
code in this DLL and hence huge problem with name-mangling will coem ?
Scot: I really, really hope you can get it to compile natively. Would
be so great.
On 23 Se
Hi all,
Thanks for all your good job on protobuf.
Just a very small "bug" in your CPP Tutorial :
http://code.google.com/intl/fr/apis/protocolbuffers/docs/cpptutorial.html
In Adressbook writter sample the "output" stream is not closed
proprerly, so you can obtain an empty output file when running
our implement have to disable python gc, we found the C++
implementation for Python messages has cycles refs.
it would leak memory when you set gc.disable(). the pure python
implementation doesn't has this problem. any one has the idea to fix
this problem?
--
You received this message because yo
Hi all,
I have compiled protobuf code(.cc generated by protoc), its
wrapper(.cc & c files) and made .a librabry..
while compiling i have provided prototypes of each refered function.
but while buiding executable linkable final outpu file I am facing
problem
getting lot of errors like undefine
Hello, I'm new to protocol buffers, so this may be a very simple
question to some, but bear with me.
I have some messages within a message as follows:
...//some code
message MyMessage
{
message CommandMessage
{
//nothing here.
Marc,
Do you have an example of how I return an error message back to the
client?
Lasse
On Aug 1, 12:15 pm, Marc Gravell wrote:
> If I understand the meaning, then I would tend to make the exception
> scenario mean "something is fundamentally wrong with the service", rather
> than "your request
I think I got it now. In the http server I can catch exceptions, and
then return them back in my normal object.
A foo(int i);
where A is a class that I can then add an extra member variable called
Exception on!
On Sep 26, 9:42 pm, lasse wrote:
> Marc,
>
> Do you have an example of how I retur
Did you include the output of "pkg-config --libs protobuf" in your
linker command line?
Chris
On Sat, 24 Sep 2011 03:18:16 -0700 (PDT)
"$ag@r Takawane [B-08]" wrote:
> Hi all,
>
> I have compiled protobuf code(.cc generated by protoc), its
> wrapper(.cc & c files) and made .a librabry..
> whil
Assuming you have a MyMessage, use the "has_messagecommand()" and
"has_messageclose()" functions to figure out whether each optional
field is present or absent.
Chris
On Mon, 26 Sep 2011 10:37:48 -0700 (PDT)
EJ wrote:
> Hello, I'm new to protocol buffers, so this may be a very simple
> question
12 matches
Mail list logo