In the meanwhile, by reading other project I found out we need to create a 
context before we call this function, so my question would be, where can I 
find this, as mentioned the reference docs don't give a lot of hints.

On Tuesday, 13 June 2017 11:02:59 UTC+2, [email protected] wrote:
>
> Hi!
>
> Trying to create a simple perl (connected to c) program that talks to 
> google, I'm trying this:
>
> #include <grpc/grpc.h>                                  
>                                                         
> int main(void) {                                        
>     grpc_init();                                        
>     grpc_google_default_credentials_create();           
> }                                                       
>
> gcc main.c -lgrpc
> ./a.out
>
> Which does this:
> E0613 11:00:43.217938698   19490 sync.c:118]                 assertion 
> failed: prior > 0 
>
> Which according to the code means a reference issue.
>
> What am I doing wrong? 
> http://www.grpc.io/grpc/core/grpc__security_8h.html#a68183d792830190c3e14504557d57ad7
>  
> doesn't give a lot of hints...
>
> Thanks!
> Bas
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d3f8fd67-b92b-484d-8b46-8c5829d52250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to