FACT++  1.0
Item* createItem ( )

Definition at line 3454 of file feeserver.c.

References Memory::malloc().

Referenced by createFloatItem(), and fillItem().

3454  {
3455  Item* item = 0;
3456 
3457  item = (Item*) malloc(sizeof(Item));
3458  if (item == 0) {
3459  //no memory available!
3460 # ifdef __DEBUG
3461  printf("no memory available!\n");
3462 # endif
3463  return 0;
3464  }
3465  item->location = 0;
3466  item->name = 0;
3467  item->defaultDeadband = 0;
3468  return item;
3469 }
Definition: did.h:42
void * malloc()
Definition: EventBuilder.cc:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function: