PageRenderTime 444ms CodeModel.GetById 221ms app.highlight 1ms RepoModel.GetById 221ms app.codeStats 0ms

/indra/lscript/lscript_compile/lscript_heap.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 58 lines | 23 code | 9 blank | 26 comment | 0 complexity | 2e0fda0e78b97fd5b0bc838c80e7d688 MD5 | raw file
 1/** 
 2 * @file lscript_heap.h
 3 * @brief classes to manage script heap
 4 *
 5 * $LicenseInfo:firstyear=2002&license=viewerlgpl$
 6 * Second Life Viewer Source Code
 7 * Copyright (C) 2010, Linden Research, Inc.
 8 * 
 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation;
12 * version 2.1 of the License only.
13 * 
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Lesser General Public License for more details.
18 * 
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 * 
23 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
24 * $/LicenseInfo$
25 */
26
27#if 0
28
29#ifndef LL_LSCRIPT_HEAP_H
30#define LL_LSCRIPT_HEAP_H
31
32#include "lscript_byteconvert.h"
33//#include "vmath.h"
34#include "v3math.h"
35#include "llquaternion.h"
36
37class LLScriptHeapEntry
38{
39public:
40	LLScriptHeapEntry(U8 *entry);
41	LLScriptHeapEntry(U8 *heap, S32 offset);
42	~LLScriptHeapEntry();
43
44	void addString(char *string);
45
46	S32 mNext;
47	U8	mType;
48	S32 mRefCount;
49	S32 mListOffset;
50	U8  *mEntry;
51	U8  *mData;
52	U8  *mListEntry;
53};
54
55#endif
56
57#endif
58