Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: fpdfsdk/src/fpdfview_c_api_test.c

Issue 1415803007: Fix all relative includes to public. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | fpdfsdk/src/fpdfview_embeddertest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This "C" (not "C++") file ensures that the public headers compile 5 // This "C" (not "C++") file ensures that the public headers compile
6 // and link for "C" (and not just "C++"). 6 // and link for "C" (and not just "C++").
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "fpdfview_c_api_test.h" 10 #include "fpdfview_c_api_test.h"
11 11
12 #include "../../public/fpdf_dataavail.h" 12 #include "public/fpdf_dataavail.h"
13 #include "../../public/fpdf_doc.h" 13 #include "public/fpdf_doc.h"
14 #include "../../public/fpdf_edit.h" 14 #include "public/fpdf_edit.h"
15 #include "../../public/fpdf_ext.h" 15 #include "public/fpdf_ext.h"
16 #include "../../public/fpdf_flatten.h" 16 #include "public/fpdf_flatten.h"
17 #include "../../public/fpdf_formfill.h" 17 #include "public/fpdf_formfill.h"
18 #include "../../public/fpdf_fwlevent.h" 18 #include "public/fpdf_fwlevent.h"
19 #include "../../public/fpdf_ppo.h" 19 #include "public/fpdf_ppo.h"
20 #include "../../public/fpdf_progressive.h" 20 #include "public/fpdf_progressive.h"
21 #include "../../public/fpdf_save.h" 21 #include "public/fpdf_save.h"
22 #include "../../public/fpdf_searchex.h" 22 #include "public/fpdf_searchex.h"
23 #include "../../public/fpdf_sysfontinfo.h" 23 #include "public/fpdf_sysfontinfo.h"
24 #include "../../public/fpdf_text.h" 24 #include "public/fpdf_text.h"
25 #include "../../public/fpdf_transformpage.h" 25 #include "public/fpdf_transformpage.h"
26 #include "../../public/fpdfview.h" 26 #include "public/fpdfview.h"
27 27
28 // Scheme for avoiding LTO out of existence, warnings, etc. 28 // Scheme for avoiding LTO out of existence, warnings, etc.
29 typedef void (*fnptr)(void); // Legal generic function type for casts. 29 typedef void (*fnptr)(void); // Legal generic function type for casts.
30 fnptr g_c_api_test_fnptr = NULL; // Extern, so can't know it doesn't change. 30 fnptr g_c_api_test_fnptr = NULL; // Extern, so can't know it doesn't change.
31 #define CHK(x) if ((fnptr)(x) == g_c_api_test_fnptr) return 0 31 #define CHK(x) if ((fnptr)(x) == g_c_api_test_fnptr) return 0
32 32
33 // Function to call from gtest harness to ensure linker resolution. 33 // Function to call from gtest harness to ensure linker resolution.
34 int CheckPDFiumCApi() { 34 int CheckPDFiumCApi() {
35 // fpdf_dataavail.h 35 // fpdf_dataavail.h
36 CHK(FPDFAvail_Create); 36 CHK(FPDFAvail_Create);
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 CHK(FPDF_VIEWERREF_GetPrintPageRange); 209 CHK(FPDF_VIEWERREF_GetPrintPageRange);
210 CHK(FPDF_VIEWERREF_GetDuplex); 210 CHK(FPDF_VIEWERREF_GetDuplex);
211 CHK(FPDF_CountNamedDests); 211 CHK(FPDF_CountNamedDests);
212 CHK(FPDF_GetNamedDestByName); 212 CHK(FPDF_GetNamedDestByName);
213 CHK(FPDF_GetNamedDest); 213 CHK(FPDF_GetNamedDest);
214 214
215 return 1; 215 return 1;
216 } 216 }
217 217
218 #undef CHK 218 #undef CHK
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | fpdfsdk/src/fpdfview_embeddertest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698