diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-01 17:45:25 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-01 17:45:25 -0600 |
commit | 72b1a948def6c7a2e969d18faef9c2260ccf57e6 (patch) | |
tree | 6ab5148dd4765b8f7d3052ec668d000f2988cfbf /src/value.cc | |
parent | f6c087cfe48e6410db61a9367ce7c718a490af77 (diff) | |
download | fork-ledger-72b1a948def6c7a2e969d18faef9c2260ccf57e6.tar.gz fork-ledger-72b1a948def6c7a2e969d18faef9c2260ccf57e6.tar.bz2 fork-ledger-72b1a948def6c7a2e969d18faef9c2260ccf57e6.zip |
Fixes to value_t to Python conversion
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index 5fa748f6..2446c97a 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1251,6 +1251,16 @@ void value_t::in_place_cast(type_t cast_type) } break; + case MASK: + switch (cast_type) { + case STRING: + set_string(as_mask().str()); + return; + default: + break; + } + break; + default: break; } |