repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

prototypes/p10-lua-plugin-heap-limit/plugins/host_value.lua

Raw
-- P10 fixture: reads host-created values injected as globals and reports
-- what the plugin can observe about them.
return {
  blob_type = type(HOST_BLOB),
  blob_len = (type(HOST_BLOB) == "string") and #HOST_BLOB or -1,
  ud_type = type(HOST_UD),
}