Loading shaders from stream broken?

Not sure if this is a bug, or I don't know how to use the interface.
I first thought it had something to do with one of the shader streams being `null`, which is supported according to the documentation, so I tried to solve it as attached, but it still doesn't work: `sfShader_createFromStream(...)` returns null, anyways.