HiveMind
src
bittybuzz
include
bittybuzz
IBittyBuzzBytecode.h
Go to the documentation of this file.
1
#ifndef __IBITTYBUZZBYTECODE_H_
2
#define __IBITTYBUZZBYTECODE_H_
3
4
#include <bbzvm.h>
5
#include <cstdint>
6
9
class
IBittyBuzzBytecode
{
10
public
:
11
virtual
~IBittyBuzzBytecode
() =
default
;
12
16
virtual
bbzvm_bcode_fetch_fun
getBytecodeFetchFunction
()
const
= 0;
17
22
virtual
uint16_t
getBytecodeLength
()
const
= 0;
23
};
24
25
#endif // __IBITTYBUZZBYTECODE_H_
IBittyBuzzBytecode::getBytecodeFetchFunction
virtual bbzvm_bcode_fetch_fun getBytecodeFetchFunction() const =0
Obtain the function that fetches the BittyBuzz byte code.
IBittyBuzzBytecode::~IBittyBuzzBytecode
virtual ~IBittyBuzzBytecode()=default
IBittyBuzzBytecode::getBytecodeLength
virtual uint16_t getBytecodeLength() const =0
Get the size of the BittyBuzz byte code.
IBittyBuzzBytecode
Manages the BittyBuzz byte code.
Definition:
IBittyBuzzBytecode.h:9
Generated by
1.8.17