CyberShadow / win32

3 stars 0 forks source link

Cross-platform Win32 declarations Build status code.dlang.org

The Windows API bindings contained in Druntime (under the core.sys.windows package) primarily contain API declarations useful only on Windows, but also contain definitions for data structures which are used on other platforms as well.

Unfortunately, these declarations are artificially restricted to be accessible only when targeting the Windows platform, and it has been decided that they will remain unavailable on non-Windows platforms.

The purpose of this package is to rectify this limitation, and make these declarations available for other platforms as well.

Implementation

The matter in which this project is implemented is wasteful and redundant, but is the best compromise found so far.

This repository is mostly a mirror of the Druntime git repository, with the following differences:

The following remain unchanged from the original repository:

A script periodically rewrites this repository to include the latest changes from the Druntime repository.

Contributing

Because this repository is automatically created from the Druntime one, it is not possible to make any meaningful changes on any branch except win32-filter. (Allowing copies to diverge also creates problems in itself.)

Instead, please contribute improvements to Win32 definitions by improving the copy in Druntime. Once your contribution is accepted, it will appear in this repository shortly.

If, for whatever reason, your Druntime contribution was rejected, please open an issue in this repository.