aboutsummaryrefslogtreecommitdiff
path: root/examples/dumptypes.pd_luax
blob: 6ac3e3428e264a08b0feab66c41ef2b4ea5cf0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- dump Lua types for atoms, just to see what we get for pointers
return function(self, sel, atoms)
  self.inlets = 1
  function self:in_1(sel, atoms)
    pd.post(sel .. "[")
    for _,v in ipairs(atoms) do
      pd.post(type(v))
    end
    pd.post("]")
  end
  return true
end