SilverScreen Solid Modeler

set_tempfile_close_handler

set_tempfile_close_handler

Previous topic Next topic  

set_tempfile_close_handler

Previous topic Next topic JavaScript is required for the print function  

SilverPlusRect

SilverEngineRect

 

TempfileCloseHandler

  set_tempfile_close_handler(TempfileCloseHandler my_tempfile_close_handler)

 

 

 

 

 

 



 

Synopsis

#include "silver.h"

 

The set_tempfile_close_handler function defines a function that is notified when a temporary file is closed by SilverEngine

 

 

Parameters

my_tempfile_close_handler is a SilverC API function pointer to a TempfileCloseHandler that is called whenever a tempfile is closed by SilverEngine. It is declared as follows, and is only relevant in SilverPlus and SilverEngine development models.

 

 typedef void SILVERC_API

    (SDCCALL *TempfileCloseHandler)(const char *path);

 

 const char *path;   /* The full path of temp-file to be closed */

 

 

Return Value

set_tempfile_close_handler returns a pointer to the active tempfile close handler. Your handler should not return any value.

 

 

See Also

set_tempfile_create_handler