summaryrefslogtreecommitdiff
path: root/io/init.lua
blob: 1288bd47e6e6c3de19cab394e91114c98252bdc2 (plain) (blame)
1
2
3
4
5
6
7
function nerv.ParamFile:write_chunkdata(metadata, writer)
    if type(metadata) ~= "table" then
        nerv.error("metadata should be a Lua table")
        return
    end
    return self:_write_chunkdata(table.tostring(metadata), writer)
end