Commit 2089d724 authored by Chun-wei Fan's avatar Chun-wei Fan

NMake/libgjs-private: Export all the public symbols there

It seems that since GjsPrivate-1.0.[gir|typelib] refers to APIs from
there, we ought to export those as well for the Visual Studio builds via
GJS_EXPORT, so that they can be loaded by the girepository DLL.

It turns out that this portion of the code used to be a DLL/.so of its own,
so it also makes sense to export these so that they are available from
gjs.lib as well.
parent 173741d0
......@@ -55,7 +55,9 @@ struct _GjsDBusImplementationClass {
GJS_EXPORT
GType gjs_dbus_implementation_get_type (void);
GJS_EXPORT
void gjs_dbus_implementation_emit_property_changed (GjsDBusImplementation *self, gchar *property, GVariant *newvalue);
GJS_EXPORT
void gjs_dbus_implementation_emit_signal (GjsDBusImplementation *self, gchar *signal_name, GVariant *parameters);
G_END_DECLS
......
......@@ -29,8 +29,11 @@
#include <gtk/gtk.h>
#include <gjs/macros.h>
G_BEGIN_DECLS
GJS_EXPORT
void gjs_gtk_container_child_set_property (GtkContainer *container,
GtkWidget *child,
const gchar *property,
......
......@@ -32,6 +32,7 @@
G_BEGIN_DECLS
/* For imports.format */
GJS_EXPORT
char * gjs_format_int_alternative_output (int n);
/* For imports.gettext */
......@@ -46,20 +47,27 @@ typedef enum
GJS_LOCALE_CATEGORY_TIME = LC_TIME
} GjsLocaleCategory;
GJS_EXPORT
const char *gjs_setlocale (GjsLocaleCategory category,
const char *locale);
GJS_EXPORT
void gjs_textdomain (const char *domain);
GJS_EXPORT
void gjs_bindtextdomain (const char *domain,
const char *location);
GJS_EXPORT
GType gjs_locale_category_get_type (void) G_GNUC_CONST;
/* For imports.overrides.GObject */
GJS_EXPORT
GParamFlags gjs_param_spec_get_flags (GParamSpec *pspec);
GJS_EXPORT
GType gjs_param_spec_get_value_type (GParamSpec *pspec);
GJS_EXPORT
GType gjs_param_spec_get_owner_type (GParamSpec *pspec);
/* For tests */
GJS_EXPORT
int gjs_open_bytes(GBytes* bytes, GError** error);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment