summaryrefslogtreecommitdiffstats
path: root/python/astra/PyXMLDocument.pxd
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-05-06 13:50:11 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-05-06 15:18:04 +0200
commitfff7470f1d74b0085355130350fa834ea8d37069 (patch)
tree941846f5ad9a07cc6e1e8b1b17a6fcb858d40e77 /python/astra/PyXMLDocument.pxd
parentc6f6d6fbc3537cedefc0cef8e71819436a0a60c1 (diff)
downloadastra-fff7470f1d74b0085355130350fa834ea8d37069.tar.gz
astra-fff7470f1d74b0085355130350fa834ea8d37069.tar.bz2
astra-fff7470f1d74b0085355130350fa834ea8d37069.tar.xz
astra-fff7470f1d74b0085355130350fa834ea8d37069.zip
Make XML array handling consistent
setContent and getContent were using different XML formats previously.
Diffstat (limited to 'python/astra/PyXMLDocument.pxd')
-rw-r--r--python/astra/PyXMLDocument.pxd2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/astra/PyXMLDocument.pxd b/python/astra/PyXMLDocument.pxd
index 57c447e..033b8ef 100644
--- a/python/astra/PyXMLDocument.pxd
+++ b/python/astra/PyXMLDocument.pxd
@@ -53,6 +53,8 @@ cdef extern from "astra/XMLNode.h" namespace "astra":
string getAttribute(string)
list[XMLNode] getNodes()
vector[float32] getContentNumericalArray()
+ void setContent(double*, int, int, bool)
+ void setContent(double*, int)
string getContent()
bool hasAttribute(string)