Added deprecation support for general functions
Authored by: artyom-beilis 2011-08-23
Parent: [r1920]
Child: [r1922]