Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    47d94757
    Convert LLProcess consumers from LLSD to LLProcess::Params block. · 47d94757
    Nat Goodspeed authored
    Using a Params block gives compile-time checking against attribute typos. One
    might inadvertently set myLLSD["autofill"] = false and only discover it when
    things behave strangely at runtime; but trying to set myParams.autofill will
    produce a compile error.
    However, it's excellent that the same LLProcess::create() method can accept
    either LLProcess::Params or a properly-constructed LLSD block.
    47d94757
    History
    Convert LLProcess consumers from LLSD to LLProcess::Params block.
    Nat Goodspeed authored
    Using a Params block gives compile-time checking against attribute typos. One
    might inadvertently set myLLSD["autofill"] = false and only discover it when
    things behave strangely at runtime; but trying to set myParams.autofill will
    produce a compile error.
    However, it's excellent that the same LLProcess::create() method can accept
    either LLProcess::Params or a properly-constructed LLSD block.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.