diff src/if_python3.c @ 6565:38add5a3d617 v7.4.609

updated for version 7.4.609 Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz)
author Bram Moolenaar <bram@vim.org>
date Tue, 03 Feb 2015 12:55:18 +0100
parents 3ee5808a293c
children 7fa1a7359a56
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -1649,8 +1649,8 @@ do_py3eval (char_u *str, typval_T *rettv
     }
 }
 
-    void
+    int
 set_ref_in_python3 (int copyID)
 {
-    set_ref_in_py(copyID);
+    int set_ref_in_py(copyID);
 }