/*
 * This file was automatically generated with ILU (version 2.0beta1) tools
 * at Tue Sep 21 10:58:27 1999 by `nobody'
 * running "c:/iluwin/bin/c-stubber.exe" of Tue Sep 21 10:50:33 1999
 * on "C:/iluwin/examples/ngtest/NgBasic.isl" of Mon Sep 20 15:54:11 1999,
 * and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
 *
 * ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
 * ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.
 */

#include "NgBasic.h"

NgBasic_String _NgBasic_NgObject_GetInterfaceDefinitionSource__clientstub (NgBasic_NgObject _handle, ILU_C_ENVIRONMENT *_status)
{
  NgBasic_String _retvalue;
  _ILU_C_ParmDesc __parmsBlock[1];
  __parmsBlock[0].parm_in  = 0;
  __parmsBlock[0].parm_out = 1;
  __parmsBlock[0].parm_needs_assignment   = 0;
  __parmsBlock[0].parm_needs_dereference  = 0;
  __parmsBlock[0].parm_type = TC_NgBasic_String;
  __parmsBlock[0].parm_val  = (void *) &_retvalue;
  _ILU_C_VectorCall (_NgBasic_NgObject__ILUType, &_NgBasic_NgObject__ILUType->cl_methods[0],
                     ILU_NIL, _handle, _status, 1, __parmsBlock);
  return _retvalue;
}

static ILU_C_Class _NgBasic_NgObject__SurrogateClass = 0;
NgBasic_NgObject NgBasic_NgObject__CreateFromSBH (char *sbh, ILU_C_ENVIRONMENT * env)
{
  return (NgBasic_NgObject) (ILU_C_SBHToObject(sbh, _NgBasic_NgObject__ILUType, env));
}

void NgBasic__Initialize(void)
{
  extern void _NgBasic__GeneralInitialization(void);

  static ilu_boolean initialized = ilu_FALSE;
  if (initialized) return;
  initialized = ilu_TRUE;

  _NgBasic__GeneralInitialization();
  _NgBasic_NgObject__SurrogateClass = NgBasic_NgObject__MakeClass(
    _NgBasic_NgObject_GetInterfaceDefinitionSource__clientstub,
    0 /* no finalization */
    );
  _ILU_C_RegisterSurrogateCType (_NgBasic_NgObject__ILUType,
	_NgBasic_NgObject__SurrogateClass);
  return;
}
