OLD | NEW |
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 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 952 |
| 953 extern "C" int luaopen_skia(lua_State* L); |
953 extern "C" int luaopen_skia(lua_State* L) { | 954 extern "C" int luaopen_skia(lua_State* L) { |
954 SkLua::Load(L); | 955 SkLua::Load(L); |
955 return 0; | 956 return 0; |
956 } | 957 } |
OLD | NEW |