Index: src/utils/SkLua.cpp |
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp |
index 296229bf2193e0dcaece5f8e7ebd826476cb6417..4f662ca706737b8fc38234ecaa134c8db3e5b245 100644 |
--- a/src/utils/SkLua.cpp |
+++ b/src/utils/SkLua.cpp |
@@ -950,6 +950,7 @@ void SkLua::Load(lua_State* L) { |
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; |