Skip to content
Snippets Groups Projects
Commit 16b0b429 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Move struct grafo do .c para .h

parent 627e5f87
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -4,10 +4,6 @@
#include "vertice.h"
#include "tabuleiro.h"
struct Grafo {
Lista vertices;
};
Grafo criaGrafo() {
Grafo g = malloc(sizeof(struct Grafo));
......
......@@ -2,6 +2,10 @@
#define _GRAFO_
#include "tabuleiro.h"
struct Grafo {
Lista vertices;
};
typedef struct Grafo *Grafo;
Grafo criaGrafo();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment