aboutsummaryrefslogtreecommitdiffstats
path: root/ArrayUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'ArrayUtils.h')
-rw-r--r--ArrayUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ArrayUtils.h b/ArrayUtils.h
index dab40e2d..8d56f3c8 100644
--- a/ArrayUtils.h
+++ b/ArrayUtils.h
@@ -44,6 +44,10 @@ public:
/// Stack pre: source_reference [source_byte_offset/source_length] target_reference target_byte_offset
/// Stack post: target_reference target_byte_offset
void copyArrayToStorage(ArrayType const& _targetType, ArrayType const& _sourceType) const;
+ /// Copies an array (which cannot be dynamically nested) from anywhere to memory.
+ /// Stack pre: memory_offset source_item
+ /// Stack post: memory_offest + length(padded)
+ void copyArrayToMemory(ArrayType const& _sourceType, bool _padToWordBoundaries = true) const;
/// Clears the given dynamic or static array.
/// Stack pre: storage_ref storage_byte_offset
/// Stack post: