commit | 7bce9988af2e3dfc384ebc8655d0eb3d08fad4d2 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 20 17:40:21 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 20 17:40:21 2013 +0000 |
tree | ee51bfc924075bc971f3e10f7bb3ac04b4298536 | |
parent | c464cbd121f2add3401e8dfaf8679fcb1aec5177 [diff] [blame] |
formally declare luaskia extern guy, and then define it BUG= Review URL: https://codereview.chromium.org/17503003 git-svn-id: http://skia.googlecode.com/svn/trunk@9705 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp index 296229b..4f662ca 100644 --- a/src/utils/SkLua.cpp +++ b/src/utils/SkLua.cpp
@@ -950,6 +950,7 @@ REG_CLASS(L, SkTypeface); } +extern "C" int luaopen_skia(lua_State* L); extern "C" int luaopen_skia(lua_State* L) { SkLua::Load(L); return 0;