예제 #1
0
  TT_Driver_Done( TT_Driver  driver )
  {
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER

    /* destroy the execution context */
    if ( driver->context )
    {
      TT_Destroy_Context( driver->context, driver->root.root.memory );
      driver->context = NULL;
    }
#else
    FT_UNUSED( driver );
#endif

  }
예제 #2
0
파일: ttobjs.c 프로젝트: allanw1/Arianrhod
  tt_driver_done( FT_Module  ttdriver )     /* TT_Driver */
  {
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
    TT_Driver  driver = (TT_Driver)ttdriver;


    /* destroy the execution context */
    if ( driver->context )
    {
      TT_Destroy_Context( driver->context, driver->root.root.memory );
      driver->context = NULL;
    }
#else
    FT_UNUSED( ttdriver );
#endif

  }
예제 #3
0
파일: ttobjs.c 프로젝트: Diskutant/RTCW-SP
LOCAL_FUNC
void  TT_Done_Driver(TT_Driver driver)
{
	/* destroy extensions registry if needed */

#ifdef TT_CONFIG_OPTION_EXTEND_ENGINE

	TT_Done_Extensions(driver);

#endif

#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER

	/* destroy the execution context */
	if(driver->context)
	{
		TT_Destroy_Context(driver->context, driver->root.root.memory);
		driver->context = NULL;
	}

#endif

}