Mercurial > repos > rhope
comparison runtime/fixed_alloc.c @ 48:a24eb366195c
Fixed some bugs introduced in previous commit and moved definition of integer methods out of runtime and into the compiler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 02 Mar 2010 00:18:49 -0500 |
parents | 1b86a1ee500a |
children | 3e20ed8959c4 |
comparison
equal
deleted
inserted
replaced
47:6202b866d72c | 48:a24eb366195c |
---|---|
1 #include "fixed_alloc.h" | 1 #include "fixed_alloc.h" |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <string.h> | |
3 | 4 |
4 uint16_t max_free[(MAX_SIZE-MIN_SIZE)/STRIDE]; | 5 uint16_t max_free[(MAX_SIZE-MIN_SIZE)/STRIDE]; |
5 | 6 |
6 void fixed_alloc_init() | 7 void fixed_alloc_init() |
7 { | 8 { |