PageRenderTime 47ms CodeModel.GetById 25ms RepoModel.GetById 1ms 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
Possible License(s): LGPL-2.1
  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. #if 0
  27. #ifndef LL_LSCRIPT_HEAP_H
  28. #define LL_LSCRIPT_HEAP_H
  29. #include "lscript_byteconvert.h"
  30. //#include "vmath.h"
  31. #include "v3math.h"
  32. #include "llquaternion.h"
  33. class LLScriptHeapEntry
  34. {
  35. public:
  36. LLScriptHeapEntry(U8 *entry);
  37. LLScriptHeapEntry(U8 *heap, S32 offset);
  38. ~LLScriptHeapEntry();
  39. void addString(char *string);
  40. S32 mNext;
  41. U8 mType;
  42. S32 mRefCount;
  43. S32 mListOffset;
  44. U8 *mEntry;
  45. U8 *mData;
  46. U8 *mListEntry;
  47. };
  48. #endif
  49. #endif