diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-08-19 10:24:13 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-08-22 10:42:56 +0200 |
| commit | 7588a895538800ffe88e2a4273a47020fec42e7d (patch) | |
| tree | 48cee1b61f56a4bce881126a855051cd2102744d /src/rt/rust_upcall.cpp | |
| parent | b24f97801138cb675fbb9e9151d189b6527c4ef5 (diff) | |
| download | rust-7588a895538800ffe88e2a4273a47020fec42e7d.tar.gz rust-7588a895538800ffe88e2a4273a47020fec42e7d.zip | |
Rename copy_glue back to take_glue
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 775b4b54a0f..622baad32c9 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -285,12 +285,12 @@ copy_elements(rust_task *task, type_desc *elem_t, memmove(dst, src, n); // increment the refcount of each element of the vector - if (elem_t->copy_glue) { - glue_fn *copy_glue = elem_t->copy_glue; + if (elem_t->take_glue) { + glue_fn *take_glue = elem_t->take_glue; size_t elem_size = elem_t->size; const type_desc **tydescs = elem_t->first_param; for (char *p = dst; p < dst+n; p += elem_size) { - copy_glue(NULL, task, NULL, tydescs, p); + take_glue(NULL, task, NULL, tydescs, p); } } } |
