From 7fa19a3f958c9a2ed7387cb373f0aa7bba707922 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 15 Aug 2009 20:53:39 -0700 Subject: Finish upb_context thread-safety. --- src/upb_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_context.h') diff --git a/src/upb_context.h b/src/upb_context.h index a04a875..504b1b6 100644 --- a/src/upb_context.h +++ b/src/upb_context.h @@ -53,7 +53,7 @@ struct upb_context { /* Initializes a upb_context. Contexts are not freed explicitly, but unref'd * when the caller is done with them. */ -bool upb_context_init(struct upb_context *c); +struct upb_context *upb_context_new(); INLINE void upb_context_ref(struct upb_context *c) { upb_atomic_ref(&c->refcount); } -- cgit v1.2.3