godot/thirdparty/graphite/src/inc/Code.h

// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
// Copyright 2010, SIL International, All rights reserved.

// This class represents loaded graphite stack machine code.  It performs
// basic sanity checks, on the incoming code to prevent more obvious problems
// from crashing graphite.
// Author: Tim Eves

#pragma once

#include <cassert>
#include <graphite2/Types.h>
#include "inc/Main.h"
#include "inc/Machine.h"

namespace graphite2 {

class Silf;
class Face;

enum passtype {};

namespace vm {

class Machine::Code
{};

inline
size_t  Machine::Code::estimateCodeDataOut(size_t n_bc, int nRules, int nSlots)
{}


inline Machine::Code::Code() throw()
:{}

inline Machine::Code::Code(const Machine::Code &obj) throw ()
 :{}

inline Machine::Code & Machine::Code::operator=(const Machine::Code &rhs) throw() {}

inline void Machine::Code::externalProgramMoved(ptrdiff_t dist) throw()
{}

} // namespace vm
} // namespace graphite2