diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-08-29 19:18:10 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-08-29 19:18:10 +0200 |
commit | b8d747580db76bc3e51bae6c3cdae49b5b44e20b (patch) | |
tree | 4538aa1ba20f579e887881d572440f60e1d3db5a /src/callable.cpp | |
parent | 3537cce27590c6197ffe458ac6cc7dee39040e7b (diff) |
work in progress on nested arrays (still crashes with sigsegv)
Diffstat (limited to 'src/callable.cpp')
-rw-r--r-- | src/callable.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/callable.cpp b/src/callable.cpp index 929f39c..7cba919 100644 --- a/src/callable.cpp +++ b/src/callable.cpp @@ -160,6 +160,13 @@ int Callable::invoke(INTERNAL_FUNCTION_PARAMETERS) ret["2"] = 3; +// ret["hmm"]["s"] = 456; + + Value sub; + sub["something"] = "yes"; + + ret["b"] = sub; + std::cout << "done setting properties" << std::endl; |