From 764ec513eecbebd12781bcc96ce81ed5e736ee92 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 14 Mar 2016 13:35:12 -0400 Subject: Move core/src/ up to core/. This CL moves the core/src/ files up to core/ and fixes up the include guards, includes and build files. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1800523005 . --- core/fxcrt/plex.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 core/fxcrt/plex.h (limited to 'core/fxcrt/plex.h') diff --git a/core/fxcrt/plex.h b/core/fxcrt/plex.h new file mode 100644 index 0000000000..25fca64d72 --- /dev/null +++ b/core/fxcrt/plex.h @@ -0,0 +1,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_FXCRT_PLEX_H_ +#define CORE_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_FXCRT_PLEX_H_ -- cgit v1.2.3