Index: src/utils/SkLua.cpp |
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp |
index aabb236f30f257b6d205c330f084adcc1b677a6c..296229bf2193e0dcaece5f8e7ebd826476cb6417 100644 |
--- a/src/utils/SkLua.cpp |
+++ b/src/utils/SkLua.cpp |
@@ -949,3 +949,8 @@ void SkLua::Load(lua_State* L) { |
REG_CLASS(L, SkRRect); |
REG_CLASS(L, SkTypeface); |
} |
+ |
+extern "C" int luaopen_skia(lua_State* L) { |
+ SkLua::Load(L); |
+ return 0; |
+} |