mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-26 16:36:05 +00:00
48 lines
916 B
C++
48 lines
916 B
C++
//-----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (C) 2015 David Hill
|
|
//
|
|
// See COPYING for license information.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// Function class.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "Function.hpp"
|
|
|
|
|
|
//----------------------------------------------------------------------------|
|
|
// Extern Functions |
|
|
//
|
|
|
|
namespace ACSVM
|
|
{
|
|
//
|
|
// Function constructor
|
|
//
|
|
Function::Function(Module *module_, String *name_, Word idx_) :
|
|
module{module_},
|
|
name {name_},
|
|
idx {idx_},
|
|
|
|
argC {0},
|
|
codeIdx{0},
|
|
locArrC{0},
|
|
locRegC{0},
|
|
|
|
flagRet{false}
|
|
{
|
|
}
|
|
|
|
//
|
|
// Function destructor
|
|
//
|
|
Function::~Function()
|
|
{
|
|
}
|
|
}
|
|
|
|
// EOF
|
|
|