newsAdvanced Gtk+ Sequencer - News

 
 

refactored utility functions

Item posted by Joël Krähemann <jkraehemann> on Tue 03 Aug 2021 06:26:38 AM UTC.

Many utility functions have been declared as deprecated. Each has got a replacement function with a different signature. The new functions accept only 1 argument, the struct containing all needed parameters.

Further, all structs has got at least the source and source_stride fields and if needed destination and destination_stride.

Passing parameters as struct has some advantages, like the ability to prefault memory and no more dynamic memory allocation during processing of utility functions. This make it easy if a utility function needs another utility function.

deprecated utility functions


Here a short summary of deprecated functions




























































by Joël

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code