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

Side by Side Diff: tools/lua/lua_pictures.cpp

Issue 1313203003: Remove include of stdlib.h from SkTypes.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up qsort conversion. Created 5 years, 3 months 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 | « tools/lua/lua_app.cpp ('k') | tools/render_pictures_main.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 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "LazyDecodeBitmap.h" 8 #include "LazyDecodeBitmap.h"
9 #include "SkLua.h" 9 #include "SkLua.h"
10 #include "SkLuaCanvas.h" 10 #include "SkLuaCanvas.h"
11 #include "SkPicture.h" 11 #include "SkPicture.h"
12 #include "SkCommandLineFlags.h" 12 #include "SkCommandLineFlags.h"
13 #include "SkGraphics.h" 13 #include "SkGraphics.h"
14 #include "SkStream.h" 14 #include "SkStream.h"
15 #include "SkData.h" 15 #include "SkData.h"
16 #include "picture_utils.h" 16 #include "picture_utils.h"
17 #include "SkOSFile.h" 17 #include "SkOSFile.h"
18 #include "SkImageDecoder.h" 18 #include "SkImageDecoder.h"
19 19
20 #include <stdlib.h>
21
20 extern "C" { 22 extern "C" {
21 #include "lua.h" 23 #include "lua.h"
22 #include "lualib.h" 24 #include "lualib.h"
23 #include "lauxlib.h" 25 #include "lauxlib.h"
24 } 26 }
25 27
26 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas"; 28 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas";
27 static const char gEndCanvasFunc[] = "sk_scrape_endcanvas"; 29 static const char gEndCanvasFunc[] = "sk_scrape_endcanvas";
28 static const char gAccumulateFunc[] = "sk_scrape_accumulate"; 30 static const char gAccumulateFunc[] = "sk_scrape_accumulate";
29 static const char gSummarizeFunc[] = "sk_scrape_summarize"; 31 static const char gSummarizeFunc[] = "sk_scrape_summarize";
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 162 }
161 } 163 }
162 return 0; 164 return 0;
163 } 165 }
164 166
165 #if !defined SK_BUILD_FOR_IOS 167 #if !defined SK_BUILD_FOR_IOS
166 int main(int argc, char * const argv[]) { 168 int main(int argc, char * const argv[]) {
167 return tool_main(argc, (char**) argv); 169 return tool_main(argc, (char**) argv);
168 } 170 }
169 #endif 171 #endif
OLDNEW
« no previous file with comments | « tools/lua/lua_app.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698