Firebird Documentation IndexFirebird 2.0.6 Release NotesKnown Compatibility Issues → Firebird API
Firebird Home Firebird Home Prev: PerformanceFirebird Documentation IndexUp: Known Compatibility IssuesNext: Windows-Specific Issues

Firebird API

Note the following changes affecting the API

isc_interprete is deprecated

isc_interprete() is deprecated as dangerous. Use fb_interpret() instead.

Events callback routine declaration corrected

The new prototype for  isc_callback  reflects the actual callback signature. Formerly, it was:

  typedef void (* isc_callback) ();
  ISC_STATUS isc_que_events(
    ISC_STATUS *, isc_db_handle *, ISC_LONG *, short,
    char *, isc_callback, void *);
         

In the Firebird 2.0 API it is:

  typedef void (*ISC_EVENT_CALLBACK)
    (void*, ISC_USHORT, const ISC_UCHAR*);
  ISC_STATUS isc_que_events(
    ISC_STATUS*, isc_db_handle*, ISC_LONG*, short,
    const ISC_SCHAR*, ISC_EVENT_CALLBACK, void*);
         

It may cause a compile-time incompatibility, as older event handling programs cannot be compiled if they use a bit different signature for a callback routine (e.g.,  void*  instead of  const char*  as the last parameter).

Prev: PerformanceFirebird Documentation IndexUp: Known Compatibility IssuesNext: Windows-Specific Issues
Firebird Documentation IndexFirebird 2.0.6 Release NotesKnown Compatibility Issues → Firebird API