From 7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Fri, 15 Feb 2013 16:27:18 -0800 Subject: Sync with 8 months of Google-internal development. Many things have changed and been simplified. The memory-management story for upb_def and upb_handlers is much more robust; upb_def and upb_handlers should be fairly stable interfaces now. There is still much work to do for the runtime component (upb_sink). --- upb/descriptor/reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/descriptor/reader.h') diff --git a/upb/descriptor/reader.h b/upb/descriptor/reader.h index 0e1bfa0..4312682 100644 --- a/upb/descriptor/reader.h +++ b/upb/descriptor/reader.h @@ -67,7 +67,7 @@ void upb_descreader_uninit(upb_descreader *r); // Registers handlers that will build the defs. Pass the descreader as the // closure. -upb_mhandlers *upb_descreader_reghandlers(upb_handlers *h); +const upb_handlers *upb_descreader_newhandlers(const void *owner); // Gets the array of defs that have been parsed and removes them from the // descreader. Ownership of the defs is passed to the caller using the given -- cgit v1.2.3