Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add stdint.h
stdint.h is needed, otherwise you receive the following error: `error: unknown type name ‘uint32_t’`
  • Loading branch information
senorsmile authored Jan 22, 2019
commit ed7cfbd7af53718a296345d081ccdcadda2f741e
10 changes: 9 additions & 1 deletion _parts/part3.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@ Now would be a great time to write some tests, for a couple reasons:

We'll address those issues in the next part. For now, here's the complete diff from this part:
```diff
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <stdint.h>

struct InputBuffer_t {

typedef struct InputBuffer_t InputBuffer;

+enum ExecuteResult_t { EXECUTE_SUCCESS, EXECUTE_TABLE_FULL };
Expand Down Expand Up @@ -426,4 +434,4 @@ We'll address those issues in the next part. For now, here's the complete diff f
+ }
}
}
```
```