support more legacy api

This commit is contained in:
flux
2022-06-21 15:26:35 -07:00
parent 2163a39844
commit feb177d0e0
5 changed files with 218 additions and 45 deletions

View File

@ -238,7 +238,7 @@ function api.register_all(node, overrides, meta)
end
end
function api.register_custom(node, shapes, overrides, meta)
function api.register_singles(node, shapes, overrides, meta)
for _, shape in ipairs(shapes) do
api.register_single(node, shape, overrides, meta)
end