File: dumptypes.pd_luax

package info (click to toggle)
pd-lua 0.12.23%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: ansic: 3,733; lisp: 66; makefile: 64
file content (12 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (7)
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