diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-09-01 15:34:14 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-09-01 15:34:14 -0700 |
commit | 66a74a4fd53710aaf54a01f668d6a895f9266fbd (patch) | |
tree | 7f30313d002eeb5f59a16270f99edb87541adaaf /upb/bindings | |
parent | 2ccbe04559f8a954f0c0c1a54005e6e26fbf43bf (diff) |
Added lua and core32 Travis builds, and rewrote README.md
Diffstat (limited to 'upb/bindings')
-rw-r--r-- | upb/bindings/lua/upb.c | 5 | ||||
-rw-r--r-- | upb/bindings/lua/upb/pb.c (renamed from upb/bindings/lua/upb.pb.c) | 0 |
2 files changed, 3 insertions, 2 deletions
diff --git a/upb/bindings/lua/upb.c b/upb/bindings/lua/upb.c index f938b26..f257430 100644 --- a/upb/bindings/lua/upb.c +++ b/upb/bindings/lua/upb.c @@ -1323,9 +1323,10 @@ static size_t lupb_sizeof(lua_State *L, const upb_fielddef *f) { case UPB_TYPE_STRING: case UPB_TYPE_BYTES: case UPB_TYPE_MESSAGE: - lupb_assert(L, false); - return 0; + break; } + lupb_assert(L, false); + return 0; } static int div_round_up(size_t n, size_t d) { diff --git a/upb/bindings/lua/upb.pb.c b/upb/bindings/lua/upb/pb.c index c9f1f47..c9f1f47 100644 --- a/upb/bindings/lua/upb.pb.c +++ b/upb/bindings/lua/upb/pb.c |