Skip to content

Migrate from LIBWGET_EXPORT to WGETAPI

username-removed-819582 requested to merge gh-0117ec4f/129/darnir/wgetapi into master

This pull request aims to migrate from using the following form for exporting symbols:

void
	wget_millisleep(int ms) LIBWGET_EXPORT;

to this form:

WGETAPI void
	wget_millisleep(int ms);

Here, the attribute for exporting a library symbol now appears before the function prototype. Also, the macro for exporting is changed to WGETAPI which is more readable and in-line with various other libraries. Once merged, this should close #122 (closed)

Merge request reports

Loading