numat / RASPA2

NO LONGER UPDATED. Use the official repository.
https://github.com/iraspa/RASPA2
Other
77 stars 72 forks source link

Streaming functionality cross-platform #8

Open patrickfuller opened 10 years ago

patrickfuller commented 10 years ago

Issue by patrickfuller Wednesday Aug 21, 2013 at 21:35 GMT Originally opened as https://github.com/numat/RASPA/issues/10


In order to stream data, the current logic uses fmemopen and open_memstream. These are POSIX-only commands, and not supported on macs.

Look into a cross-platform solution.

patrickfuller commented 10 years ago

Comment by patrickfuller Thursday Aug 29, 2013 at 21:05 GMT


There is this project for fmemopen that gets it running on macs: https://github.com/jverkoey/fmemopen. A similar approach could be used for open_memstream, and then this could be a platform-dependent include.

However, I have decided that this is too much work for too little gain. Putting on hold until I'm really bored.