-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start unifying find_referenced_globals
- Loading branch information
1 parent
86cf632
commit 909943c
Showing
3 changed files
with
76 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#pragma once | ||
|
||
#include "../functions.h" | ||
#include "../globals.h" | ||
|
||
#include <stdint.h> | ||
|
||
void find_referenced_functions(function *f, function **functions, size_t *functions_size); | ||
void find_referenced_types(function *f, type_id *types, size_t *types_size); | ||
void find_referenced_globals(function *f, global_id *globals, size_t *globals_size); | ||
|
||
void indent(char *code, size_t *offset, int indentation); |