Code

Fixed crash when draw height was zero.
[inkscape.git] / src / libavoid / static.h
index c02c6be2fd7de92852de4244745b7db7158f3a0b..18e9ac278e4cb7922a5dbcae3cb780be27a5ce10 100644 (file)
@@ -2,7 +2,7 @@
  * vim: ts=4 sw=4 et tw=0 wm=0
  *
  * libavoid - Fast, Incremental, Object-avoiding Line Router
- * Copyright (C) 2004-2005  Michael Wybrow <mjwybrow@users.sourceforge.net>
+ * Copyright (C) 2004-2006  Michael Wybrow <mjwybrow@users.sourceforge.net>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
 
 namespace Avoid {
 
-extern void CreateVisGraph(Polygn **obstacles, int n_obstacles);
-extern void DestroyVisGraph(void);
+class Router;
+
+
+extern void CreateVisGraph(Router *router, Polygn **obstacles,
+        int n_obstacles);
+extern void DestroyVisGraph(Router *router);
 
 }