diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 20:53:39 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 20:53:39 -0700 |
commit | 7fa19a3f958c9a2ed7387cb373f0aa7bba707922 (patch) | |
tree | 8007ac449505db49a78da002bcdbd263e264bc12 /src/upb_context.h | |
parent | 71d82d06d17f0205ccf5bb72ea11d3fd3e9eb363 (diff) |
Finish upb_context thread-safety.
Diffstat (limited to 'src/upb_context.h')
-rw-r--r-- | src/upb_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |