aboutsummaryrefslogtreecommitdiff
path: root/v1/square.h
blob: 177c9c77f6be340d75015e2c7e3856933ee4f51e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef POC__SQUARE_H
#define POC__SQUARE_H

#include "shape.h"

struct square;

struct square *square_create(double width);

double square_area(struct square *square);

void square_destroy(struct square *square);

struct shape *square_as_shape(struct square *square);

#endif