summaryrefslogtreecommitdiff
path: root/lang_ext/lua/test.lua
blob: a5b8d825d7b3136730f63d0b9639c1fbe036f667 (plain)
1
2
3
4
5
6
7
8
9

require "upb"

symtab = upb.symtab()

symtab:add_descriptorproto()
for _, def in ipairs(symtab:getdefs(-1)) do
  print(def:name())
end
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback