Apply cpp naming to files

This commit is contained in:
IlyaShurupov 2024-03-23 12:09:51 +03:00
parent 430ba869d0
commit 9a9262f6d0
73 changed files with 160 additions and 160 deletions

View file

@ -1,28 +0,0 @@
#pragma once
#include "opcodes.h"
#include "primitives/intobject.h"
#include "primitives/stringobject.h"
#include "Buffer.hpp"
#include <string>
namespace obj {
typedef Object* ConstData;
struct ByteCode {
tp::Buffer<ConstData> mConstants;
tp::Buffer<OpCode> mInstructions;
tp::ualni mInstructionIdx = 0;
tp::ualni mArgumentsLoaded = 0;
~ByteCode() {
for (auto const_obj : mConstants) {
NDO->destroy(const_obj.data());
}
}
};
};