[protobuf] Re: Google Protocol Buffer C bindings problem

2015-05-21 Thread Vishwas Pai
> extern KVStr* _init_kv_str(int has_job_id, int job_id, > int has_num_item, int num_item, int n_name) > { > KVStr kv_str = KVSTR__INIT; > ... > return &kv_str; > } > In the function you are returning local stack variable (kv_str). By the time pack accesses the message, it probably overwritt

[protobuf] Re: Google Protocol Buffer C bindings problem

2013-04-06 Thread Jano Kupec
Hi Ke, maybe you should ask in protobuf-cgroup. Protobuf-c is not part of Protocol Buffers project (yet?). -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from