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