minify-html/notes/code/scope-naming.md

23 lines
336 B
Markdown
Raw Normal View History

2019-01-25 03:25:10 -05:00
# Scope naming
## Public
```c
int hb_sub_function_name(int a, int b);
```
## Internal use only
Used across multiple files but should only be used by this project's code.
```c
int _hb_sub_function_name(int a, int b);
```
## Within same file only
```c
// Don't declare in header file
static int _function_name(int a, int b) {}
```