| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
MODE: INLINE |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
#include <xs.h> |
|
4
|
|
|
|
|
|
|
#include <kiwi/kiwi.h> |
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
namespace xs { |
|
7
|
|
|
|
|
|
|
template <> |
|
8
|
|
|
|
|
|
|
struct Typemap<kiwi::Variable*> : TypemapObject<kiwi::Variable*, kiwi::Variable*, ObjectTypeRefcntPtr, ObjectStorageMG, StaticCast> { |
|
9
|
|
|
|
|
|
|
static std::string package () { return "Graphics::Layout::Kiwisolver::Variable"; } |
|
10
|
|
|
|
|
|
|
}; |
|
11
|
|
|
|
|
|
|
} |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
MODULE = Graphics::Layout::Kiwisolver PACKAGE = Graphics::Layout::Kiwisolver::Variable |
|
14
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
kiwi::Variable* kiwi::Variable::new( std::string name = "" ) { |
|
17
|
4994
|
|
|
|
|
|
RETVAL = new kiwi::Variable(name); |
|
18
|
2497
|
50
|
|
|
|
|
} |
|
19
|
2497
|
50
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
20
|
27
|
50
|
|
|
|
|
std::string kiwi::Variable::name() |
|
|
|
50
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
|
22
|
513
|
50
|
|
|
|
|
void kiwi::Variable::setName( std::string name ) |
|
23
|
|
|
|
|
|
|
|
|
24
|
784
|
50
|
|
|
|
|
double kiwi::Variable::value() |
|
25
|
|
|
|
|
|
|
|
|
26
|
8
|
|
|
|
|
|
void kiwi::Variable::setValue( double value ) |
|
27
|
|
|
|
|
|
|
|
|
28
|
2
|
50
|
|
|
|
|
bool kiwi::Variable::equals( kiwi::Variable& other ) |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
BOOT { |
|
31
|
8
|
50
|
|
|
|
|
Stash(__PACKAGE__, GV_ADD).mark_as_loaded(__MODULE__); |
|
|
|
50
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
} |