| 1 |
|
| MODE: INLINE |
| 2 |
|
| |
| 3 |
|
| #include <xs.h> |
| 4 |
|
| #include <kiwi/kiwi.h> |
| 5 |
|
| |
| 6 |
|
| namespace xs { |
| 7 |
|
| template <> |
| 8 |
|
| struct Typemap<kiwi::Constraint*> : TypemapObject<kiwi::Constraint*, kiwi::Constraint*, ObjectTypeRefcntPtr, ObjectStorageMG, StaticCast> { |
| 9 |
|
| static std::string package () { return "Graphics::Layout::Kiwisolver::Constraint"; } |
| 10 |
|
| }; |
| 11 |
|
| } |
| 12 |
|
| |
| 13 |
|
| MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Constraint |
| 14 |
|
| PROTOTYPES: DISABLE |
| 15 |
|
| |
| 16 |
|
| kiwi::Expression* kiwi::Constraint::expression() { |
| 17 |
0 |
| RETVAL = &( const_cast<kiwi::Expression&>( THIS->expression() ) ); |
| 18 |
0 |
▶ | } |
Branch: 2 branches
| Branch | True | False | Total |
| } |
0 |
0 |
0 |
| } |
0 |
0 |
0 |
|
| 19 |
|
| |
| 20 |
0 |
▶ | double kiwi::Constraint::strength() |
Branch: 1 branch
| Branch | True | False | Total |
| double kiwi::Constraint::strength() |
0 |
0 |
0 |
|
| 21 |
|
| |
| 22 |
|
| bool kiwi::Constraint::_op_neg() (OVERLOAD: neg) { |
| 23 |
0 |
▶ | RETVAL = !(*THIS); |
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = !(*THIS); |
0 |
0 |
0 |
|
| 24 |
|
| } |
| 25 |
|
| |
| 26 |
|
| BOOT { |
| 27 |
8 |
▶ | Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
8 |
0 |
8 |
| Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
8 |
0 |
8 |
|
| 28 |
|
| } |