view CodeAnalysis/CustomFunctions.json @ 200:3757a7b9e6f1

fix build on macOS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 19:16:45 +0200
parents d7a6e75558ee
children 28531e615104
line wrap: on
line source

[
  {
    "short_name" : "RegisterRestCallback",
    "implementation" : "RegisterRestCallback",
    "documentation" : {
      "description" : [ "Register a REST callback." ],
      "args" : {
        "pathRegularExpression" : "Regular expression for the URI. May contain groups.",
        "callback" : "The callback function to handle the REST call."
      }
    },
    "args" : [
      {
        "sdk_name" : "pathRegularExpression",
        "sdk_type" : "const char *"
      },
      {
        "sdk_name" : "callback",
        "sdk_type" : "Callable",
        "callable_type" : "typing.Callable[[RestOutput, str], None]"
      }
    ],
    "return_sdk_type" : "void"
  },

  {
    "short_name" : "RegisterOnChangeCallback",
    "implementation" : "RegisterOnChangeCallback",
    "documentation" : {
      "description" : [ "Register a callback to monitor changes." ],
      "args" : {
        "callback" : "The callback function."
      }
    },
    "args" : [
      {
        "sdk_name" : "callback",
        "sdk_type" : "Callable",
        "callable_type" : "typing.Callable[[ChangeType, ResourceType, str], None]"
      }
    ],
    "return_sdk_type" : "void"
  }
]