mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-21 05:12:29 -05:00
20 lines
349 B
C
20 lines
349 B
C
|
#ifndef CODE_BUFFER_X86_H
|
||
|
#define CODE_BUFFER_X86_H
|
||
|
|
||
|
#include "MemoryAllocator/CodeBuffer/CodeBufferBase.h"
|
||
|
|
||
|
class CodeBuffer : public CodeBufferBase {
|
||
|
public:
|
||
|
CodeBuffer() : CodeBufferBase() {
|
||
|
}
|
||
|
|
||
|
CodeBuffer(int size) : CodeBufferBase(size) {
|
||
|
}
|
||
|
|
||
|
public:
|
||
|
void FixBindLabel(int offset, int32_t disp);
|
||
|
|
||
|
void Emit32(int32_t data);
|
||
|
};
|
||
|
|
||
|
#endif
|