FACT++  1.0
int get_type_size ( char  type)

Definition at line 2226 of file webDid.c.

References size.

Referenced by did_prepare_command().

2227 {
2228  int size;
2229 
2230  switch(type)
2231  {
2232  case 'L':
2233  case 'l':
2234  size = sizeof(long);
2235  break;
2236  case 'I':
2237  case 'i':
2238  size = sizeof(int);
2239  break;
2240  case 'S':
2241  case 's':
2242  size = sizeof(short);
2243  break;
2244  case 'F':
2245  case 'f':
2246  size = sizeof(float);
2247  break;
2248  case 'D':
2249  case 'd':
2250  size = sizeof(double);
2251  break;
2252  case 'C':
2253  case 'c':
2254  default:
2255  size = 1;
2256  }
2257  return(size);
2258 }
int type
int size
Definition: db_dim_server.c:17

+ Here is the caller graph for this function: