[Kde-bindings] [Bug 309004] New: Qyoto: generate QPoint(F), QSize(F) and QRect(F) as structures instead of classes

Dimitar Dobrev dpldobrev at yahoo.com
Thu Oct 25 18:49:16 UTC 2012


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

            Bug ID: 309004
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kde-bindings at kde.org
           Summary: Qyoto: generate QPoint(F), QSize(F) and QRect(F) as
                    structures instead of classes
    Classification: Unclassified
                OS: All
          Reporter: dpldobrev at yahoo.com
          Hardware: Other
            Status: NEW
         Component: general
           Product: bindings

Due to the way they are used, QPoint(F), QSize(F) and QRect(F) would be more
useful as structures in C# rather than as classes. Structures are faster,
besides the needless calls to many underlying native calls would be
eiliminated, so performance of applications using these data structures would
be significantly faster.

Reproducible: Always

Steps to Reproduce:
1. Generate Qyoto and look at the QPoint(F), QSize(F) and QRect(F) data
structures.
Actual Results:  
They are classes.

Expected Results:  
They are structures.

One should be careful because some functions that modify a passed in 
QPoint(F), QSize(F) and QRect(F) should be generated in C# with the ref
modifier for the parameter.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-bindings mailing list