diff options
author | John Abd-El-Malek <jabdelmalek@google.com> | 2014-05-23 17:28:10 -0700 |
---|---|---|
committer | John Abd-El-Malek <jabdelmalek@google.com> | 2014-05-23 17:41:56 -0700 |
commit | 3f3b45cc74b0499912409f766a595945dbbfc4c5 (patch) | |
tree | ec400b6965477b88ea7f0d335f7e5c52044c346c /fpdfsdk/include/fpdfoom.h | |
parent | 6fe4aed948337175f6f7f81bb03c37b9c7f535da (diff) | |
download | pdfium-3f3b45cc74b0499912409f766a595945dbbfc4c5.tar.xz |
Convert all line endings to LF.
Diffstat (limited to 'fpdfsdk/include/fpdfoom.h')
-rw-r--r-- | fpdfsdk/include/fpdfoom.h | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/fpdfsdk/include/fpdfoom.h b/fpdfsdk/include/fpdfoom.h index 638b012b74..dd14b74b4f 100644 --- a/fpdfsdk/include/fpdfoom.h +++ b/fpdfsdk/include/fpdfoom.h @@ -1,61 +1,61 @@ -// 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 _FPDFOOM_H_
-#define _FPDFOOM_H_
-
-#ifndef _FPDFVIEW_H_
-#include "fpdfview.h"
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct _OOM_INFO
-{
- /**
- * Version number of the interface. Currently must be 1.
- **/
- int version;
-
- /**
- * Method: FSDK_OOM_Handler
- * Out-Of-Memory handling function.
- * Interface Version:
- * 1
- * Implementation Required:
- * Yes
- * Parameters:
- * pThis - Pointer to the interface structure itself.
- * Return value:
- * None.
- * */
-
- void(*FSDK_OOM_Handler)(_OOM_INFO* pThis);
-}OOM_INFO;
-
-
-/**
- * Function: FSDK_SetOOMHandler
- * Setup A Out-Of-Memory handler for foxit sdk.
- * Parameters:
- * oomInfo - Pointer to a OOM_INFO structure.
- * Return Value:
- * TRUE means successful. FALSE means fails.
- **/
-
-DLLEXPORT FPDF_BOOL STDCALL FSDK_SetOOMHandler(OOM_INFO* oomInfo);
-
-
-#ifdef __cplusplus
-};
-#endif
-
-
-
-
-#endif
+// 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 _FPDFOOM_H_ +#define _FPDFOOM_H_ + +#ifndef _FPDFVIEW_H_ +#include "fpdfview.h" +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct _OOM_INFO +{ + /** + * Version number of the interface. Currently must be 1. + **/ + int version; + + /** + * Method: FSDK_OOM_Handler + * Out-Of-Memory handling function. + * Interface Version: + * 1 + * Implementation Required: + * Yes + * Parameters: + * pThis - Pointer to the interface structure itself. + * Return value: + * None. + * */ + + void(*FSDK_OOM_Handler)(_OOM_INFO* pThis); +}OOM_INFO; + + +/** + * Function: FSDK_SetOOMHandler + * Setup A Out-Of-Memory handler for foxit sdk. + * Parameters: + * oomInfo - Pointer to a OOM_INFO structure. + * Return Value: + * TRUE means successful. FALSE means fails. + **/ + +DLLEXPORT FPDF_BOOL STDCALL FSDK_SetOOMHandler(OOM_INFO* oomInfo); + + +#ifdef __cplusplus +}; +#endif + + + + +#endif |