bennetthardwick / rust-obs-plugins

A safe wrapper around the OBS API, useful for creating OBS sources, filters and effects.
GNU General Public License v2.0
186 stars 34 forks source link

more lenient regex to generate windows .def #2

Closed agrif closed 4 years ago

agrif commented 4 years ago

When compiling this on my Windows machine, the output of dumpbin.exe /EXPORTS does not quite match the regex used in build_win.rs. Mine outputs lines that look like

         10    9 0001C7B0 audio_output_disconnect = audio_output_disconnect

I've modified the regex to accept this, and it should continue to accept anything it accepted previously. With this change, I can get the bundled plugins to build without link errors.

bennetthardwick commented 4 years ago

Thanks! I don't have Windows at the moment so I can't test this but it LGTM.