source:
dev/trunk/abdev/BasicCompiler_Common/src/CodeGenerator.cpp@
206
Last change on this file since 206 was 206, checked in by , 17 years ago | |
---|---|
File size: 289 bytes |
Rev | Line | |
---|---|---|
[206] | 1 | #include "stdafx.h" |
2 | ||
[184] | 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.