Exemple #1
0
int CountDefglobals( void )
{ int count = 0;
  void *Ptr = NULL;
  while (( Ptr = GetNextDefglobalInScope(Ptr) )!= NULL)
     count ++;
  return count;
}
Exemple #2
0
static int CountDefglobals(
  void *theEnv)
  { 
   int count = 0;
   void *Ptr = NULL;
   
   while ((Ptr = GetNextDefglobalInScope(theEnv,Ptr)) != NULL)
     { count++; }
     
   return count;
  }