Re: bitmaps

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

So either the docs are wrong, as BMP_SUCCESS is now 1, BMP_OPEN_FAILED is now 2, etc, or that enum should begin with BMP_SUCCESS=0

I believe you are correct in that BMP_SUCCESS should be 0:

the docs said...

read_bitmap

Returns:

An object, on success, a sequence of the form {palette,image}. On failure, an error code is returned.

save_bitmap

Returns

An integer, 0 on success.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu