summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/plex.h
blob: 12b7bd45a1e6502aca83eaa14565424eec4ea986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef CORE_SRC_FXCRT_PLEX_H_
#define CORE_SRC_FXCRT_PLEX_H_

#include "core/include/fxcrt/fx_system.h"

struct CFX_Plex {
  CFX_Plex* pNext;
  void* data() { return this + 1; }
  static CFX_Plex* Create(CFX_Plex*& head, FX_DWORD nMax, FX_DWORD cbElement);
  void FreeDataChain();
};

#endif  // CORE_SRC_FXCRT_PLEX_H_