Skip to content
Snippets Groups Projects
Verified Commit ca7365a9 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added retrune

parent f68ec746
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ patat:
# Types composés
* Jusqu'ici les struct sont dans les `.h` et sont *transparents*
* Jusqu'ici les `struct` sont dans les `.h` et sont *transparents*
```C
// table.h
......@@ -81,6 +81,7 @@ tab.data[9] = 10;
}
struct table *create() {
struct table *t = malloc(sizeof(*t));
return t;
}
void init(struct table **t) {
*t = malloc(sizeof(**t));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment