Code: Select all
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
CallCFunctionFast(*callback, Int(progress) )
CompilerElse
CompilerIf #PB_Compiler_OS = #PB_OS_MacOS
CallCFunctionFast(*callback, Int(progress) )
CompilerElse
CallFunctionFast(*callback, Int(progress) )
CompilerEndIf
CompilerEndIf