FACT++  1.0
int get_type_size ( char  type)

Definition at line 1902 of file didMarkus.c.

References size.

Referenced by did_prepare_command().

1903 {
1904  int size;
1905 
1906  switch(type)
1907  {
1908  case 'L':
1909  case 'l':
1910  size = sizeof(long);
1911  break;
1912  case 'I':
1913  case 'i':
1914  size = sizeof(int);
1915  break;
1916  case 'S':
1917  case 's':
1918  size = sizeof(short);
1919  break;
1920  case 'F':
1921  case 'f':
1922  size = sizeof(float);
1923  break;
1924  case 'D':
1925  case 'd':
1926  size = sizeof(double);
1927  break;
1928  case 'C':
1929  case 'c':
1930  default:
1931  size = 1;
1932  }
1933  return(size);
1934 }
int type
int size
Definition: db_dim_server.c:17

+ Here is the caller graph for this function: