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

Side by Side Diff: src/utils/SkLua.cpp

Issue 16099014: enable shared lib support in linux for lua (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: move sklua Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « gyp/tools.gyp ('k') | no next file » | 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 "SkLua.h" 8 #include "SkLua.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkData.h" 10 #include "SkData.h"
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 void SkLua::Load(lua_State* L) { 942 void SkLua::Load(lua_State* L) {
943 register_Sk(L); 943 register_Sk(L);
944 REG_CLASS(L, SkCanvas); 944 REG_CLASS(L, SkCanvas);
945 REG_CLASS(L, SkDocument); 945 REG_CLASS(L, SkDocument);
946 REG_CLASS(L, SkImage); 946 REG_CLASS(L, SkImage);
947 REG_CLASS(L, SkPath); 947 REG_CLASS(L, SkPath);
948 REG_CLASS(L, SkPaint); 948 REG_CLASS(L, SkPaint);
949 REG_CLASS(L, SkRRect); 949 REG_CLASS(L, SkRRect);
950 REG_CLASS(L, SkTypeface); 950 REG_CLASS(L, SkTypeface);
951 } 951 }
952
953 extern "C" int luaopen_skia(lua_State* L) {
954 SkLua::Load(L);
955 return 0;
956 }
OLDNEW
« no previous file with comments | « gyp/tools.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698