envUnregLoadDumpTrigger
envUnregLoadDumpTrigger(?toolt_toolName?loadFuncs_loadFunc?dumpFuncs_dumpFunc?preDumpFuncs_preDumpFunc) =>t / nil
Description
Deregisters the specified trigger functions for the specified tool. The specified functions are deleted from the corresponding list of the trigger functions for the tool.
Arguments
Values Returned
Examples
;; There are two different load trigger functions
( defun loadTrigger_1 ( ) ( ... ))
( defun loadTrigger_2 ( ) ( ... ))
;; they are registered to be called after the load of the tool's environment variables
envRegLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_1 )
envRegLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_2 )
envLoadFile( "someFileWhichContansToolEnvVars.cdsenv" )
;; => Here both load trigger functions are called
;; Now the loadTrigger_1 function is unregistered as a load trigger function
;; and it is deleted from the list of load trigger functions
envUnregLoadDumpTrigger( ?tool "tool" ?loadFunc 'loadTrigger_1 )
envLoadFile( "someFileWhichContansToolEnvVars.cdsenv" )
;; => Here only the loadTrigger_2 load trigger function is called
Related Topics
Return to top