summaryrefslogtreecommitdiff
path: root/upb/bindings/lua/upb/descriptor.c
blob: 9915e110b507dcbc39087246467a67e98181b4bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * upb - a minimalist implementation of protocol buffers.
 *
 * Copyright (c) 2009 Google Inc.  See LICENSE for details.
 * Author: Josh Haberman <jhaberman@gmail.com>
 *
 * A Lua extension for upb/descriptor.
 */

#include "upb/bindings/lua/upb.h"

static const struct luaL_Reg toplevel_m[] = {
  {NULL, NULL}
};

int luaopen_upb_descriptor(lua_State *L) {
  lupb_newlib(L, "upb.descriptor", toplevel_m);

  return 1;  // Return package table.
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback