iw6-mod/deps/gsc-tool/include/xsk/gsc/common/define.hpp

22 lines
382 B
C++
Raw Permalink Normal View History

2024-05-15 00:49:09 -04:00
// Copyright 2024 xensik. All rights reserved.
2024-02-27 01:34:37 -05:00
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.
#pragma once
namespace xsk::gsc
{
struct define
{
enum kind : u8 { PLAIN, BUILTIN, OBJECT, FUNCTION };
kind type;
// bool vararg;
std::vector<token> args;
std::vector<token> exp;
};
} // namespace xsk::gsc