diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/cad/construction.h | 1 | ||||
| -rw-r--r-- | inc/cad/solve.h | 1 | ||||
| -rw-r--r-- | inc/cad/topology.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/inc/cad/construction.h b/inc/cad/construction.h index e4b0428..ef36421 100644 --- a/inc/cad/construction.h +++ b/inc/cad/construction.h @@ -79,6 +79,7 @@ struct drawing { struct element* insert_cmd(struct drawing *drawing, struct command cmd); void place_points(struct drawing *drawing, double inputs[]); +void free_drawing(struct drawing *drawing); bool circle_line_intersect(struct circle circle, struct line line, uint8_t root, struct point *point); void line_through_points(struct point p1, struct point p2, struct line* l); diff --git a/inc/cad/solve.h b/inc/cad/solve.h index d1afce5..a470aae 100644 --- a/inc/cad/solve.h +++ b/inc/cad/solve.h @@ -103,6 +103,7 @@ struct constraint { void alias_point(struct constraints *c, struct component *alias, struct component *target); void add_constraint(struct constraints *c, struct constraint *new); +void free_constraints(struct constraints *c); bool solve_constraints(struct constraints *constraints, struct drawing *drawing); #define DEG(x) ((x) * M_PI / 180.0) diff --git a/inc/cad/topology.h b/inc/cad/topology.h index b3879b2..d0bf3a5 100644 --- a/inc/cad/topology.h +++ b/inc/cad/topology.h @@ -48,3 +48,4 @@ struct topology { }; void add_fragment(struct topology *topo, struct topology_elem *new); +void free_topology(struct topology *topo); |
