{
  "name": "scorpiox-qrcode",
  "version": "1.0.0",
  "exports": [
    {
      "name": "qr_init",
      "return": "int",
      "csharp_return": "int",
      "args": []
    },
    {
      "name": "qr_cleanup",
      "return": "void",
      "csharp_return": "void",
      "args": []
    },
    {
      "name": "qr_set_dot_style",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "style",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_dot_color",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "r",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_dot_gradient",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "type",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "rotation",
          "type": "float",
          "csharp_type": "float"
        },
        {
          "name": "r1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "r2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b2",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_square_style",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "style",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_square_color",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "r",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_square_gradient",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "type",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "rotation",
          "type": "float",
          "csharp_type": "float"
        },
        {
          "name": "r1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "r2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b2",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_dot_style",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "style",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_dot_color",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "r",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_corner_dot_gradient",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "type",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "rotation",
          "type": "float",
          "csharp_type": "float"
        },
        {
          "name": "r1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "r2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b2",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_background_color",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "r",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "a",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_background_gradient",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "type",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "rotation",
          "type": "float",
          "csharp_type": "float"
        },
        {
          "name": "r1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b1",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "r2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "g2",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "b2",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_set_logo",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "logo_png_path",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "size_ratio",
          "type": "float",
          "csharp_type": "float"
        },
        {
          "name": "margin_px",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_reset_style",
      "return": "void",
      "csharp_return": "void",
      "args": []
    },
    {
      "name": "qr_encode_to_file",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {
          "name": "text",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "output_png_path",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "error_correction",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "module_size",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "margin",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_encode_to_memory",
      "return": "unsigned char*",
      "csharp_return": "IntPtr",
      "args": [
        {
          "name": "text",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "error_correction",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "module_size",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "margin",
          "type": "int",
          "csharp_type": "int"
        },
        {
          "name": "out_size",
          "type": "int*",
          "csharp_type": "out int"
        }
      ]
    },
    {
      "name": "qr_free_buffer",
      "return": "void",
      "csharp_return": "void",
      "args": [
        {
          "name": "buf",
          "type": "unsigned char*",
          "csharp_type": "IntPtr"
        }
      ]
    },
    {
      "name": "qr_apply_preset",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {
          "name": "preset_name",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        }
      ]
    },
    {
      "name": "qr_encode_wifi",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {
          "name": "ssid",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "password",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "encryption",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "output_png_path",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "module_size",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_encode_vcard",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {
          "name": "name",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "phone",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "email",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "output_png_path",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "module_size",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_get_version",
      "return": "int",
      "csharp_return": "int",
      "args": [
        {
          "name": "text",
          "type": "const char*",
          "csharp_type": "string",
          "marshal": "UnmanagedType.LPUTF8Str"
        },
        {
          "name": "error_correction",
          "type": "int",
          "csharp_type": "int"
        }
      ]
    },
    {
      "name": "qr_last_error",
      "return": "const char*",
      "csharp_return": "IntPtr",
      "args": []
    }
  ]
}