runtime_environment_c.h File Reference

C interface for environments. More...


Typedefs

typedef AVS_Environment_ AVS_Environment
 opaque declaration of an environment.

Functions

AVS_C_API AVS_Environmentavs_environment_new (int size)
 Create an environment.
AVS_C_API void avs_environment_delete (AVS_Environment *p_env)
 Delete an AVS_Environment.


Detailed Description

C interface for environment.

The environment sets the quantity of memory that avisynth will use. You set it with the function avs_environment_new().

Once you have finished with an AVS_Environment (usually when avisynth is not used anymore), you delete it with avs_environment_delete().


Function Documentation

AVS_C_API void avs_environment_delete ( AVS_Environment p_env  ) 

Parameters:
p_env The environment to delete.
Delete the environment p_env.

AVS_C_API AVS_Environment* avs_environment_new ( int  size  ) 

Parameters:
size The string that contains the script.
Returns:
A newly allocated environment.
Create an environment of size size (in bytes). If an error occurred, this function returns NULL.


Generated on Sun Jul 30 18:46:52 2006 for Avisynth by  doxygen 1.4.7