diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-03-27 12:52:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 12:52:33 -0700 |
commit | 928ef7f2c02f18d9945dd750884dffbdebef1b98 (patch) | |
tree | d3b71619bfa0b8a91854045c01ce8b5cd15ae403 /upb/handlers.h | |
parent | 00f96cb9475228ecacd9be1660f4f8d9d7b24038 (diff) |
Removed reflection and other extraneous things from the core library. (#158)
* Removed reflection and other extraneous things from the core library.
* Added missing files and ran buildifier.
* New CMakeLists.txt.
* Made table its own cc_library() for internal usage.
Diffstat (limited to 'upb/handlers.h')
-rw-r--r-- | upb/handlers.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/upb/handlers.h b/upb/handlers.h index e267f12..cedd977 100644 --- a/upb/handlers.h +++ b/upb/handlers.h @@ -76,7 +76,7 @@ typedef int32_t upb_selector_t; #define UPB_STARTMSG_SELECTOR 0 #define UPB_ENDMSG_SELECTOR 1 #define UPB_UNKNOWN_SELECTOR 2 -#define UPB_STATIC_SELECTOR_COUNT 3 +#define UPB_STATIC_SELECTOR_COUNT 3 /* Warning: also in upb/def.c. */ /* Static selectors for upb::BytesHandler. */ #define UPB_STARTSTR_SELECTOR 0 @@ -233,10 +233,6 @@ UPB_INLINE upb_selector_t upb_handlers_getendselector(upb_selector_t start) { return start + 1; } -/* Internal-only. */ -uint32_t upb_handlers_selectorbaseoffset(const upb_fielddef *f); -uint32_t upb_handlers_selectorcount(const upb_fielddef *f); - #ifdef __cplusplus } /* extern "C" */ |