-
Notifications
You must be signed in to change notification settings - Fork 2
/
label.h
26 lines (24 loc) · 1.06 KB
/
label.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 1999-2012 Core Technologies.
//
// This file is part of tpasm.
//
// tpasm is free software; you can redistribute it and/or modify
// it under the terms of the tpasm LICENSE AGREEMENT.
//
// tpasm is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// tpasm LICENSE AGREEMENT for more details.
//
// You should have received a copy of the tpasm LICENSE AGREEMENT
// along with tpasm; see the file "LICENSE.TXT".
unsigned int NumLabels();
LABEL_RECORD *LocateLabel(const char *labelName,bool bumpRefCount);
void DestroyLabel(LABEL_RECORD *label);
LABEL_RECORD *CreateLabel(const char *labelName,int value,unsigned int type,unsigned int passCount,bool resolved);
bool AssignLabel(const PARSED_LABEL *parsedLabel,int value);
bool AssignConstant(const char *name,int value,bool resolved);
void UnAssignSetConstant(const char *name);
bool AssignSetConstant(const char *name,int value,bool resolved);
void UnInitLabels();
bool InitLabels();