Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-04

Cairo header update

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort

I looked into Luiz' updated headers for Cairo
(http://bugs.freepascal.org/view.php?id=11175), and while they are ok in principle (improvements, beautification), the splitting up into multiple units, and some changes like the altered version query function will break backwards compat.

So does sb have any pointers if these headers are already widely used, and compability will be an issue?

Reply by email

Luiz Americo Pereira Camara
to Marco van de Voort
Marco van de Voort wrote 5 lines
I looked into Luiz' updated headers for Cairo (http://bugs.freepascal.org/view.php?id=11175), and while they are ok in principle (improvements, beautification), the splitting up into multiple units,

This is necessary to cross platform.

and some changes like the altered version query function will break backwards compat.

These are the changes:

cairo_version now is mapped to original library function instead of a customized one.
cairo_get_version_string is renamed to original name cairo_version_string added a overloaded cairo_version function to make easy get the decomposed version
CAIRO_VERSION_ENCODE is removed

These functions are just auxiliary. So no many problems here. One most prominent issue is the fact that the header is based in cairo1.4 version from april 2007 and some dist can have older versions.

Luiz

Show quoted text 8 lines
So does sb have any pointers if these headers are already widely used, and compability will be an issue? _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Marco van de Voort
to Luiz Americo Pereira Camara
Show quoted text 5 lines
Marco van de Voort wrote: These functions are just auxiliary. So no many problems here. One most prominent issue is the fact that the header is based in cairo1.4 version from april 2007 and some dist can have older versions.

Nobody else replied, so I assume it is not much used, and compat is not an issue. Will commit it later this day.

Reply by email