[gjs/wip/js24: 8/11] fix unkown size of proto_props



commit 2baa5992f86d62631b4cc0fc8d1994ec40f786b3
Author: Tim Lunn <tim feathertop org>
Date:   Wed Sep 25 08:26:47 2013 +1000

    fix unkown size of proto_props

 gi/boxed.cpp                      |    4 ++--
 gi/function.cpp                   |    4 ++--
 gi/gerror.cpp                     |    4 ++--
 gi/gtype.cpp                      |    4 ++--
 gi/interface.cpp                  |    4 ++--
 gi/keep-alive.cpp                 |    4 ++--
 gi/ns.cpp                         |    4 ++--
 gi/object.cpp                     |    4 ++--
 gi/param.cpp                      |    4 ++--
 gi/repo.cpp                       |    4 ++--
 gi/union.cpp                      |    4 ++--
 gjs/byteArray.cpp                 |    4 ++--
 gjs/importer.cpp                  |    4 ++--
 gjs/jsapi-util.h                  |    4 ++--
 modules/cairo-context.cpp         |    4 ++--
 modules/cairo-gradient.cpp        |    4 ++--
 modules/cairo-image-surface.cpp   |    4 ++--
 modules/cairo-linear-gradient.cpp |    4 ++--
 modules/cairo-path.cpp            |    4 ++--
 modules/cairo-pattern.cpp         |    4 ++--
 modules/cairo-pdf-surface.cpp     |    4 ++--
 modules/cairo-ps-surface.cpp      |    4 ++--
 modules/cairo-radial-gradient.cpp |    4 ++--
 modules/cairo-solid-pattern.cpp   |    4 ++--
 modules/cairo-surface-pattern.cpp |    4 ++--
 modules/cairo-surface.cpp         |    4 ++--
 modules/cairo-svg-surface.cpp     |    4 ++--
 27 files changed, 54 insertions(+), 54 deletions(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index 87999e6..2e9ad5a 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -943,11 +943,11 @@ struct JSClass gjs_boxed_class = {
     NULL, NULL, NULL
 };
 
-static JSPropertySpec gjs_boxed_proto_props[] = {
+JSPropertySpec gjs_boxed_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_boxed_proto_funcs[] = {
+JSFunctionSpec gjs_boxed_proto_funcs[] = {
     { "toString", JSOP_WRAPPER((JSNative)to_string_func), 0, 0 },
     { NULL }
 };
diff --git a/gi/function.cpp b/gi/function.cpp
index e967665..93815f7 100644
--- a/gi/function.cpp
+++ b/gi/function.cpp
@@ -1371,7 +1371,7 @@ struct JSClass gjs_function_class = {
     NULL, NULL, NULL
 };
 
-static JSPropertySpec gjs_function_proto_props[] = {
+JSPropertySpec gjs_function_proto_props[] = {
     { "length", 0,
       (JSPROP_READONLY | JSPROP_PERMANENT | JSPROP_SHARED),
       JSOP_WRAPPER((JSPropertyOp)get_num_arguments),
@@ -1382,7 +1382,7 @@ static JSPropertySpec gjs_function_proto_props[] = {
 
 /* The original Function.prototype.toString complains when
    given a GIRepository function as an argument */
-static JSFunctionSpec gjs_function_proto_funcs[] = {
+JSFunctionSpec gjs_function_proto_funcs[] = {
     JS_FN("toString", function_to_string, 0, 0),
     JS_FS_END
 };
diff --git a/gi/gerror.cpp b/gi/gerror.cpp
index bd326cf..178c8df 100644
--- a/gi/gerror.cpp
+++ b/gi/gerror.cpp
@@ -324,7 +324,7 @@ struct JSClass gjs_error_class = {
 
 /* We need to shadow all fields of GError, to prevent calling the getter from GBoxed
    (which would trash memory accessing the instance private data) */
-static JSPropertySpec gjs_error_proto_props[] = {
+JSPropertySpec gjs_error_proto_props[] = {
     { "domain", PROP_DOMAIN,
       GJS_MODULE_PROP_FLAGS | JSPROP_READONLY,
       JSOP_WRAPPER((JSPropertyOp)error_get_domain),
@@ -343,7 +343,7 @@ static JSPropertySpec gjs_error_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_error_proto_funcs[] = {
+JSFunctionSpec gjs_error_proto_funcs[] = {
     { "toString", JSOP_WRAPPER((JSNative)error_to_string), 0, GJS_MODULE_PROP_FLAGS },
     JS_FS_END
 };
diff --git a/gi/gtype.cpp b/gi/gtype.cpp
index 01c2e62..11fa385 100644
--- a/gi/gtype.cpp
+++ b/gi/gtype.cpp
@@ -102,7 +102,7 @@ get_name_func (JSContext *context,
 }
 
 /* Properties */
-static JSPropertySpec gjs_gtype_proto_props[] = {
+JSPropertySpec gjs_gtype_proto_props[] = {
     { "name", 0,
       JSPROP_READONLY | JSPROP_PERMANENT | JSPROP_SHARED,
       JSOP_WRAPPER((JSPropertyOp)get_name_func),
@@ -111,7 +111,7 @@ static JSPropertySpec gjs_gtype_proto_props[] = {
 };
 
 /* Functions */
-static JSFunctionSpec gjs_gtype_proto_funcs[] = {
+JSFunctionSpec gjs_gtype_proto_funcs[] = {
     { "toString", JSOP_WRAPPER((JSNative)to_string_func), 0, 0 },
     { NULL }
 };
diff --git a/gi/interface.cpp b/gi/interface.cpp
index 9b7da07..1241c84 100644
--- a/gi/interface.cpp
+++ b/gi/interface.cpp
@@ -159,11 +159,11 @@ struct JSClass gjs_interface_class = {
     NULL, NULL, NULL
 };
 
-static JSPropertySpec gjs_interface_proto_props[] = {
+JSPropertySpec gjs_interface_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_interface_proto_funcs[] = {
+JSFunctionSpec gjs_interface_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gi/keep-alive.cpp b/gi/keep-alive.cpp
index d9d605d..0f5d3fa 100644
--- a/gi/keep-alive.cpp
+++ b/gi/keep-alive.cpp
@@ -167,11 +167,11 @@ struct JSClass gjs_keep_alive_class = {
     keep_alive_trace,
 };
 
-static JSPropertySpec gjs_keep_alive_proto_props[] = {
+JSPropertySpec gjs_keep_alive_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_keep_alive_proto_funcs[] = {
+JSFunctionSpec gjs_keep_alive_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gi/ns.cpp b/gi/ns.cpp
index f567f43..b23907a 100644
--- a/gi/ns.cpp
+++ b/gi/ns.cpp
@@ -168,11 +168,11 @@ struct JSClass gjs_ns_class = {
     JSCLASS_NO_OPTIONAL_MEMBERS
 };
 
-static JSPropertySpec gjs_ns_proto_props[] = {
+JSPropertySpec gjs_ns_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_ns_proto_funcs[] = {
+JSFunctionSpec gjs_ns_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gi/object.cpp b/gi/object.cpp
index 536d3e9..380982c 100644
--- a/gi/object.cpp
+++ b/gi/object.cpp
@@ -1808,11 +1808,11 @@ init_func (JSContext *context,
     return ret;
 }
 
-static JSPropertySpec gjs_object_instance_proto_props[] = {
+JSPropertySpec gjs_object_instance_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_object_instance_proto_funcs[] = {
+JSFunctionSpec gjs_object_instance_proto_funcs[] = {
     { "_init", JSOP_WRAPPER((JSNative)init_func), 0, 0 },
     { "connect", JSOP_WRAPPER((JSNative)connect_func), 0, 0 },
     { "connect_after", JSOP_WRAPPER((JSNative)connect_after_func), 0, 0 },
diff --git a/gi/param.cpp b/gi/param.cpp
index 4046ee2..2d91c43 100644
--- a/gi/param.cpp
+++ b/gi/param.cpp
@@ -444,11 +444,11 @@ struct JSClass gjs_param_class = {
     NULL, NULL, NULL
 };
 
-static JSPropertySpec gjs_param_proto_props[] = {
+JSPropertySpec gjs_param_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_param_proto_funcs[] = {
+JSFunctionSpec gjs_param_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gi/repo.cpp b/gi/repo.cpp
index 42909dd..94c6070 100644
--- a/gi/repo.cpp
+++ b/gi/repo.cpp
@@ -234,11 +234,11 @@ struct JSClass gjs_repo_class = {
     JSCLASS_NO_OPTIONAL_MEMBERS
 };
 
-static JSPropertySpec gjs_repo_proto_props[] = {
+JSPropertySpec gjs_repo_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_repo_proto_funcs[] = {
+JSFunctionSpec gjs_repo_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gi/union.cpp b/gi/union.cpp
index 46c57cc..7a1cf8e 100644
--- a/gi/union.cpp
+++ b/gi/union.cpp
@@ -324,11 +324,11 @@ struct JSClass gjs_union_class = {
     NULL, NULL, NULL
 };
 
-static JSPropertySpec gjs_union_proto_props[] = {
+JSPropertySpec gjs_union_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_union_proto_funcs[] = {
+JSFunctionSpec gjs_union_proto_funcs[] = {
     { "toString", JSOP_WRAPPER((JSNative)to_string_func), 0, 0 },
     { NULL }
 };
diff --git a/gjs/byteArray.cpp b/gjs/byteArray.cpp
index 7ec2412..263bd12 100644
--- a/gjs/byteArray.cpp
+++ b/gjs/byteArray.cpp
@@ -887,7 +887,7 @@ enum ByteArrayTinyId {
     BYTE_ARRAY_TINY_ID_LENGTH = -1
 };
 
-static JSPropertySpec gjs_byte_array_proto_props[] = {
+JSPropertySpec gjs_byte_array_proto_props[] = {
     { "length", BYTE_ARRAY_TINY_ID_LENGTH,
       JSPROP_PERMANENT,
       JSOP_WRAPPER ((JSPropertyOp) byte_array_length_getter),
@@ -896,7 +896,7 @@ static JSPropertySpec gjs_byte_array_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_byte_array_proto_funcs[] = {
+JSFunctionSpec gjs_byte_array_proto_funcs[] = {
     { "toString", JSOP_WRAPPER ((JSNative) to_string_func), 0, 0 },
     { "toGBytes", JSOP_WRAPPER ((JSNative) to_gbytes_func), 0, 0 },
     { NULL }
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index 4f63c10..e033ea3 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -1005,11 +1005,11 @@ struct JSClass gjs_importer_class = {
     JSCLASS_NO_OPTIONAL_MEMBERS
 };
 
-static JSPropertySpec gjs_importer_proto_props[] = {
+JSPropertySpec gjs_importer_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_importer_proto_funcs[] = {
+JSFunctionSpec gjs_importer_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/gjs/jsapi-util.h b/gjs/jsapi-util.h
index 1a4e05d..9754830 100644
--- a/gjs/jsapi-util.h
+++ b/gjs/jsapi-util.h
@@ -127,8 +127,8 @@ _GJS_DEFINE_PROTO_FULL(tn, cn, gjs_##cn##_constructor)
 _GJS_DEFINE_PROTO_FULL(tn, cn, NULL)
 
 #define _GJS_DEFINE_PROTO_FULL(type_name, cname, ctor) \
-static JSPropertySpec gjs_##cname##_proto_props[]; \
-static JSFunctionSpec gjs_##cname##_proto_funcs[]; \
+extern JSPropertySpec gjs_##cname##_proto_props[]; \
+extern JSFunctionSpec gjs_##cname##_proto_funcs[]; \
 static void gjs_##cname##_finalize(JSFreeOp *fop, JSObject *obj); \
 static JSBool gjs_##cname##_new_resolve(JSContext *context, \
                                         JSObject  *obj, \
diff --git a/modules/cairo-context.cpp b/modules/cairo-context.cpp
index 25c6b70..a252914 100644
--- a/modules/cairo-context.cpp
+++ b/modules/cairo-context.cpp
@@ -320,7 +320,7 @@ gjs_cairo_context_finalize(JSFreeOp *fop,
 }
 
 /* Properties */
-static JSPropertySpec gjs_cairo_context_proto_props[] = {
+JSPropertySpec gjs_cairo_context_proto_props[] = {
     { NULL }
 };
 
@@ -870,7 +870,7 @@ getGroupTarget_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_context_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_context_proto_funcs[] = {
     { "$dispose", JSOP_WRAPPER((JSNative)dispose_func), 0, 0 },
     { "appendPath", JSOP_WRAPPER((JSNative)appendPath_func), 0, 0},
     { "arc", JSOP_WRAPPER((JSNative)arc_func), 0, 0 },
diff --git a/modules/cairo-gradient.cpp b/modules/cairo-gradient.cpp
index b00f18a..8f14108 100644
--- a/modules/cairo-gradient.cpp
+++ b/modules/cairo-gradient.cpp
@@ -37,7 +37,7 @@ gjs_cairo_gradient_finalize(JSFreeOp *fop,
 }
 
 /* Properties */
-static JSPropertySpec gjs_cairo_gradient_proto_props[] = {
+JSPropertySpec gjs_cairo_gradient_proto_props[] = {
     { NULL }
 };
 
@@ -99,7 +99,7 @@ addColorStopRGBA_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_gradient_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_gradient_proto_funcs[] = {
     { "addColorStopRGB", JSOP_WRAPPER((JSNative)addColorStopRGB_func), 0, 0 },
     { "addColorStopRGBA", JSOP_WRAPPER((JSNative)addColorStopRGBA_func), 0, 0 },
     // getColorStopRGB
diff --git a/modules/cairo-image-surface.cpp b/modules/cairo-image-surface.cpp
index 6a55960..215ac5d 100644
--- a/modules/cairo-image-surface.cpp
+++ b/modules/cairo-image-surface.cpp
@@ -64,7 +64,7 @@ gjs_cairo_image_surface_finalize(JSFreeOp *fop,
     gjs_cairo_surface_finalize_surface(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_image_surface_proto_props[] = {
+JSPropertySpec gjs_cairo_image_surface_proto_props[] = {
     { NULL }
 };
 
@@ -195,7 +195,7 @@ getStride_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_image_surface_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_image_surface_proto_funcs[] = {
     { "createFromPNG", JSOP_WRAPPER((JSNative)createFromPNG_func), 0, 0},
     // getData
     { "getFormat", JSOP_WRAPPER((JSNative)getFormat_func), 0, 0 },
diff --git a/modules/cairo-linear-gradient.cpp b/modules/cairo-linear-gradient.cpp
index 7553314..bb9569f 100644
--- a/modules/cairo-linear-gradient.cpp
+++ b/modules/cairo-linear-gradient.cpp
@@ -64,11 +64,11 @@ gjs_cairo_linear_gradient_finalize(JSFreeOp *fop,
     gjs_cairo_pattern_finalize_pattern(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_linear_gradient_proto_props[] = {
+JSPropertySpec gjs_cairo_linear_gradient_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_linear_gradient_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_linear_gradient_proto_funcs[] = {
     // getLinearPoints
     { NULL }
 };
diff --git a/modules/cairo-path.cpp b/modules/cairo-path.cpp
index a0f00ed..fc979cc 100644
--- a/modules/cairo-path.cpp
+++ b/modules/cairo-path.cpp
@@ -49,11 +49,11 @@ gjs_cairo_path_finalize(JSFreeOp *fop,
 }
 
 /* Properties */
-static JSPropertySpec gjs_cairo_path_proto_props[] = {
+JSPropertySpec gjs_cairo_path_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_path_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_path_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/modules/cairo-pattern.cpp b/modules/cairo-pattern.cpp
index 4b0d0bd..2926fd7 100644
--- a/modules/cairo-pattern.cpp
+++ b/modules/cairo-pattern.cpp
@@ -50,7 +50,7 @@ gjs_cairo_pattern_finalize(JSFreeOp *fop,
 }
 
 /* Properties */
-static JSPropertySpec gjs_cairo_pattern_proto_props[] = {
+JSPropertySpec gjs_cairo_pattern_proto_props[] = {
     { NULL }
 };
 
@@ -80,7 +80,7 @@ getType_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_pattern_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_pattern_proto_funcs[] = {
     // getMatrix
     { "getType", JSOP_WRAPPER((JSNative)getType_func), 0, 0 },
     // setMatrix
diff --git a/modules/cairo-pdf-surface.cpp b/modules/cairo-pdf-surface.cpp
index dd7506d..5c51ccb 100644
--- a/modules/cairo-pdf-surface.cpp
+++ b/modules/cairo-pdf-surface.cpp
@@ -71,11 +71,11 @@ gjs_cairo_pdf_surface_finalize(JSFreeOp *fop,
     gjs_cairo_surface_finalize_surface(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_pdf_surface_proto_props[] = {
+JSPropertySpec gjs_cairo_pdf_surface_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_pdf_surface_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_pdf_surface_proto_funcs[] = {
     { NULL }
 };
 
diff --git a/modules/cairo-ps-surface.cpp b/modules/cairo-ps-surface.cpp
index 345eede..02b67eb 100644
--- a/modules/cairo-ps-surface.cpp
+++ b/modules/cairo-ps-surface.cpp
@@ -71,11 +71,11 @@ gjs_cairo_ps_surface_finalize(JSFreeOp *fop,
     gjs_cairo_surface_finalize_surface(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_ps_surface_proto_props[] = {
+JSPropertySpec gjs_cairo_ps_surface_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_ps_surface_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_ps_surface_proto_funcs[] = {
     // restrictToLevel
     // getLevels
     // levelToString
diff --git a/modules/cairo-radial-gradient.cpp b/modules/cairo-radial-gradient.cpp
index 516ff33..518b893 100644
--- a/modules/cairo-radial-gradient.cpp
+++ b/modules/cairo-radial-gradient.cpp
@@ -66,11 +66,11 @@ gjs_cairo_radial_gradient_finalize(JSFreeOp *fop,
     gjs_cairo_pattern_finalize_pattern(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_radial_gradient_proto_props[] = {
+JSPropertySpec gjs_cairo_radial_gradient_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_radial_gradient_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_radial_gradient_proto_funcs[] = {
     // getRadialCircles
     { NULL }
 };
diff --git a/modules/cairo-solid-pattern.cpp b/modules/cairo-solid-pattern.cpp
index 5daea52..74cb538 100644
--- a/modules/cairo-solid-pattern.cpp
+++ b/modules/cairo-solid-pattern.cpp
@@ -36,7 +36,7 @@ gjs_cairo_solid_pattern_finalize(JSFreeOp *fop,
     gjs_cairo_pattern_finalize_pattern(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_solid_pattern_proto_props[] = {
+JSPropertySpec gjs_cairo_solid_pattern_proto_props[] = {
     { NULL }
 };
 
@@ -97,7 +97,7 @@ createRGBA_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_solid_pattern_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_solid_pattern_proto_funcs[] = {
     { "createRGB", JSOP_WRAPPER((JSNative)createRGB_func), 0, 0 },
     { "createRGBA", JSOP_WRAPPER((JSNative)createRGBA_func), 0, 0 },
     { NULL }
diff --git a/modules/cairo-surface-pattern.cpp b/modules/cairo-surface-pattern.cpp
index 66dd50f..6218be2 100644
--- a/modules/cairo-surface-pattern.cpp
+++ b/modules/cairo-surface-pattern.cpp
@@ -69,7 +69,7 @@ gjs_cairo_surface_pattern_finalize(JSFreeOp *fop,
     gjs_cairo_pattern_finalize_pattern(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_surface_pattern_proto_props[] = {
+JSPropertySpec gjs_cairo_surface_pattern_proto_props[] = {
     { NULL }
 };
 
@@ -172,7 +172,7 @@ getFilter_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_surface_pattern_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_surface_pattern_proto_funcs[] = {
     { "setExtend", JSOP_WRAPPER((JSNative)setExtend_func), 0, 0 },
     { "getExtend", JSOP_WRAPPER((JSNative)getExtend_func), 0, 0 },
     { "setFilter", JSOP_WRAPPER((JSNative)setFilter_func), 0, 0 },
diff --git a/modules/cairo-surface.cpp b/modules/cairo-surface.cpp
index c38308c..7b78077 100644
--- a/modules/cairo-surface.cpp
+++ b/modules/cairo-surface.cpp
@@ -51,7 +51,7 @@ gjs_cairo_surface_finalize(JSFreeOp *fop,
 }
 
 /* Properties */
-static JSPropertySpec gjs_cairo_surface_proto_props[] = {
+JSPropertySpec gjs_cairo_surface_proto_props[] = {
     { NULL }
 };
 
@@ -108,7 +108,7 @@ getType_func(JSContext *context,
     return JS_TRUE;
 }
 
-static JSFunctionSpec gjs_cairo_surface_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_surface_proto_funcs[] = {
     // flush
     // getContent
     // getFontOptions
diff --git a/modules/cairo-svg-surface.cpp b/modules/cairo-svg-surface.cpp
index 3d37d99..be80892 100644
--- a/modules/cairo-svg-surface.cpp
+++ b/modules/cairo-svg-surface.cpp
@@ -71,11 +71,11 @@ gjs_cairo_svg_surface_finalize(JSFreeOp *fop,
     gjs_cairo_surface_finalize_surface(fop, obj);
 }
 
-static JSPropertySpec gjs_cairo_svg_surface_proto_props[] = {
+JSPropertySpec gjs_cairo_svg_surface_proto_props[] = {
     { NULL }
 };
 
-static JSFunctionSpec gjs_cairo_svg_surface_proto_funcs[] = {
+JSFunctionSpec gjs_cairo_svg_surface_proto_funcs[] = {
     { NULL }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]