blob: a0eb7b0c9f92d034b0db9cf4f7d6d91b0ce7b964 (
plain) (
tree)
|
|
include "..\..\src\makeinc.mak"
TARGET = $(PYTHONOUTPUT)
all: $(TARGET)
python.def:
echo EXPORTS > python.def
echo xchat_plugin_init >> python.def
echo xchat_plugin_deinit >> python.def
echo xchat_plugin_get_info >> python.def
python.obj: python.c
$(CC) $(CFLAGS) /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\"
$(TARGET): python.obj python.def
$(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(LIBS) /def:python.def
clean:
del $(TARGET)
del *.obj
del python.def
del *.lib
del *.exp
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */EXPORTED {
global:
hexchat_hook_command;
hexchat_event_attrs_create;
hexchat_event_attrs_free;
hexchat_hook_server;
hexchat_hook_server_attrs;
hexchat_hook_print;
hexchat_hook_print_attrs;
hexchat_hook_timer;
hexchat_hook_fd;
hexchat_unhook;
hexchat_print;
hexchat_printf;
hexchat_command;
hexchat_commandf;
hexchat_nickcmp;
hexchat_set_context;
hexchat_find_context;
hexchat_get_context;
hexchat_get_info;
hexchat_get_prefs;
hexchat_list_get;
hexchat_list_free;
hexchat_list_fields;
hexchat_list_next;
hexchat_list_str;
hexchat_list_int;
hexchat_plugingui_add;
hexchat_plugingui_remove;
hexchat_emit_print;
hexchat_emit_print_attrs;
hexchat_list_time;
hexchat_gettext;
hexchat_send_modes;
hexchat_strip;
hexchat_free;
hexchat_pluginpref_set_str;
hexchat_pluginpref_get_str;
hexchat_pluginpref_set_int;
hexchat_pluginpref_get_int;
hexchat_pluginpref_delete;
hexchat_pluginpref_list;
local: *;
};
|