source:
dev/trunk/abdev/BasicCompiler_Common/src/CodeGenerator.cpp@
184
Last change on this file since 184 was 184, checked in by , 17 years ago | |
---|---|
File size: 266 bytes |
Rev | Line | |
---|---|---|
[184] | 1 | #include <windows.h> |
2 | #include <stdlib.h> | |
3 | ||
4 | int obp,obp_AllocSize; | |
5 | int GlobalOpBufferSize; | |
6 | char *OpBuffer; | |
7 | void ReallocNativeCodeBuffer(){ | |
8 | if(obp_AllocSize<obp+8192){ | |
9 | obp_AllocSize+=8192; | |
10 | OpBuffer=(char *)realloc(OpBuffer,obp_AllocSize); //matea | |
11 | } | |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.