https://bugs.kde.org/show_bug.cgi?id=385341

            Bug ID: 385341
           Summary: Support member functions in the interface
           Product: rust-qt-binding-generator
           Version: unspecified
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: j...@vandenoever.info
          Reporter: j...@vandenoever.info
  Target Milestone: ---

Currently the generator supports writing data models that are synced between
rust and Qt. There is a wish for generating bindings for functions.

A possible syntax could be this:

"MyObject": {
    "type": "Object",
    "functions": {
        "removeDoneItems": {
            "arguments": [],
            "return": "void"
        },
        "removeLargeItems": {
            "arguments": [{
                "name": "thresholdSize",
                "type": "quint32"
            }],
            "return": "void"
        }
    }
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to