]> git.pond.sub.org Git - empserver/blobdiff - include/xy.h
(strtox, strtoy): New. Use it instead of inputxy() to avoid the
[empserver] / include / xy.h
index bb8276276414c40cddb929cee0e4349a683b3017..707df1f55dcd9646a527b9beab9ac0e08ee890cb 100644 (file)
@@ -61,7 +61,8 @@ extern void xyrelrange(struct natstr *np, struct range *src,
                       struct range *dst);
 extern void xyabsrange(struct natstr *np, struct range *src,
                       struct range *dst);
-extern void inputxy(coord *xp, coord *yp, natid cn);
+extern coord strtox(char *str, char **end);
+extern coord strtoy(char *str, char **end);
 extern coord xabs(struct natstr *np, coord relx);
 extern coord yabs(struct natstr *np, coord rely);
 extern coord xnorm(register coord x);