| 1 |
|
| MODE: INLINE |
| 2 |
|
| |
| 3 |
|
| #include <xs.h> |
| 4 |
|
| #include <kiwi/kiwi.h> |
| 5 |
|
| |
| 6 |
|
| MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Strength |
| 7 |
|
| PROTOTYPES: DISABLE |
| 8 |
|
| |
| 9 |
|
| double create( double a, double b, double c, double w = 1.0 ) { |
| 10 |
0 |
▶ | RETVAL = kiwi::strength::create(a, b, c, w); |
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = kiwi::strength::create(a, b, c, w); |
0 |
0 |
0 |
|
| 11 |
|
| } |
| 12 |
|
| |
| 13 |
|
| BOOT { |
| 14 |
8 |
▶ | Stash stash = Stash(__PACKAGE__, GV_ADD); |
Branch: 1 branch
| Branch | True | False | Total |
| Stash stash = Stash(__PACKAGE__, GV_ADD); |
8 |
0 |
8 |
|
| 15 |
8 |
▶ | stash.mark_as_loaded(__MODULE__); |
Branch: 1 branch
| Branch | True | False | Total |
| stash.mark_as_loaded(__MODULE__); |
8 |
0 |
8 |
|
| 16 |
8 |
▶ | stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) ); |
Branch: 2 branches
| Branch | True | False | Total |
| stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) ); |
8 |
0 |
8 |
| stash.add_const_sub("REQUIRED" , Simple(kiwi::strength::required) ); |
8 |
0 |
8 |
|
| 17 |
8 |
▶ | stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) ); |
Branch: 2 branches
| Branch | True | False | Total |
| stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) ); |
8 |
0 |
8 |
| stash.add_const_sub("STRONG" , Simple(kiwi::strength::strong) ); |
8 |
0 |
8 |
|
| 18 |
8 |
▶ | stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) ); |
Branch: 2 branches
| Branch | True | False | Total |
| stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) ); |
8 |
0 |
8 |
| stash.add_const_sub("MEDIUM" , Simple(kiwi::strength::medium) ); |
8 |
0 |
8 |
|
| 19 |
8 |
▶ | stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) ); |
Branch: 2 branches
| Branch | True | False | Total |
| stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) ); |
8 |
0 |
8 |
| stash.add_const_sub("WEAK" , Simple(kiwi::strength::weak) ); |
8 |
0 |
8 |
|
| 20 |
8 |
| } |