Index: trunk/src/undo.h =================================================================== --- trunk/src/undo.h (revision 1101) +++ trunk/src/undo.h (revision 1102) @@ -69,4 +69,9 @@ void UnlockUndo(void); bool Undoing(void); +/* Publish actions - these may be useful for other actions */ +int ActionUndo(int argc, char **argv, Coord x, Coord y); +int ActionRedo(int argc, char **argv, Coord x, Coord y); +int ActionAtomic(int argc, char **argv, Coord x, Coord y); + #endif Index: trunk/src/undo_act.c =================================================================== --- trunk/src/undo_act.c (revision 1101) +++ trunk/src/undo_act.c (revision 1102) @@ -77,7 +77,7 @@ %end-doc */ -static int ActionAtomic(int argc, char **argv, Coord x, Coord y) +int ActionAtomic(int argc, char **argv, Coord x, Coord y) { if (argc != 1) AFAIL(atomic); @@ -123,7 +123,7 @@ %end-doc */ -static int ActionUndo(int argc, char **argv, Coord x, Coord y) +int ActionUndo(int argc, char **argv, Coord x, Coord y) { char *function = ARG(0); if (!function || !*function) { @@ -263,7 +263,7 @@ %end-doc */ -static int ActionRedo(int argc, char **argv, Coord x, Coord y) +int ActionRedo(int argc, char **argv, Coord x, Coord y) { if (((Settings.Mode == POLYGON_MODE || Settings.Mode == POLYGONHOLE_MODE) && Crosshair.AttachedPolygon.PointN) || Crosshair.AttachedLine.State == STATE_SECOND)