shithub: libmujs

Download patch

ref: f5b3d15f0cacbca32398f4409dd104634d214175
parent: 4e6c74b5512dbc53300fbb4c119ea75bfeab0916
author: Tor Andersson <tor.andersson@artifex.com>
date: Tue Jan 12 11:42:40 EST 2016

Make convenience stack manipulation functions public.

--- a/mujs.h
+++ b/mujs.h
@@ -173,6 +173,14 @@
 void js_insert(js_State *J, int idx);
 void js_replace(js_State* J, int idx);
 
+void js_dup(js_State *J);
+void js_dup2(js_State *J);
+void js_rot2(js_State *J);
+void js_rot3(js_State *J);
+void js_rot4(js_State *J);
+void js_rot2pop1(js_State *J);
+void js_rot3pop2(js_State *J);
+
 void js_concat(js_State *J);
 int js_compare(js_State *J, int *okay);
 int js_equal(js_State *J);