From 3231fd0fdd64bc6355bce921a988713524726f23 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 10 May 2011 21:59:46 -0700 Subject: Vastly improved/simplified the upb_handlers API. --- src/upb_msg.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/upb_msg.h') diff --git a/src/upb_msg.h b/src/upb_msg.h index 68ba13a..33f5d1c 100644 --- a/src/upb_msg.h +++ b/src/upb_msg.h @@ -277,11 +277,7 @@ INLINE void upb_msg_clear(upb_msg *msg, upb_msgdef *md) { // Registers handlers for populating a msg for the given upb_msgdef. // The upb_msg itself must be passed as the param to the src. -void upb_msg_reghandlers(upb_handlers *h, upb_msgdef *md); - -// Registers handlers that are suitable for populating a msg of *any* -// upb_msgdef ("dynamic" handlers). May be slower than upb_msg_reghandlers(). -void upb_msg_regdhandlers(upb_handlers *h); +upb_mhandlers *upb_msg_reghandlers(upb_handlers *h, upb_msgdef *md); void upb_msg_runhandlers(upb_msg *msg, upb_msgdef *md, upb_handlers *h, void *closure, upb_status *status); -- cgit v1.2.3