Skip to content
  • Kristian Høgsberg's avatar
    Move ARRAY_LENGTH out of public headers · bdd272f0
    Kristian Høgsberg authored
    Exporting unprefixed symbols is a pretty bad idea so don't do that.
    Instea of redefining it WL_ARRAY_LENGTH, we just move the define to
    our private header.  The scanner generates code that uses ARRAY_LENGTH,
    but we can just make it count the number elements and emit an integer
    constant instead.
    bdd272f0