diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:27:54 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:32:09 +0000 |
commit | 51dfcb4bb7613ed164952712d9a5235a7b833cde (patch) | |
tree | c1856c7db0ff6d5ae51190be4325804a0aad43f4 /py/gc.h | |
parent | db1ac360c39aeedd28b6ef5d653faaa14c3ce01e (diff) | |
download | micropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.tar.gz micropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.zip |
py: Move to guarded includes, everywhere in py/ core.
Addresses issue #1022.
Diffstat (limited to 'py/gc.h')
-rw-r--r-- | py/gc.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -23,6 +23,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_GC_H__ +#define __MICROPY_INCLUDED_PY_GC_H__ + +#include <stdint.h> + +#include "py/mpconfig.h" +#include "py/misc.h" void gc_init(void *start, void *end); @@ -60,3 +67,5 @@ typedef struct _gc_info_t { void gc_info(gc_info_t *info); void gc_dump_info(void); void gc_dump_alloc_table(void); + +#endif // __MICROPY_INCLUDED_PY_GC_H__ |