tesseract  4.00.00dev
CMAKE_SIZEOF_UNSIGNED_SHORT.c File Reference
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define SIZE   (sizeof(unsigned short))
 

Functions

int main (int argc, char *argv[])
 

Variables

char info_size []
 

Macro Definition Documentation

◆ SIZE

#define SIZE   (sizeof(unsigned short))

Definition at line 17 of file CMAKE_SIZEOF_UNSIGNED_SHORT.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 33 of file CMAKE_SIZEOF_UNSIGNED_SHORT.c.

35 {
36  int require = 0;
37  require += info_size[argc];
38  (void)argv;
39  return require;
40 }
char info_size[]

Variable Documentation

◆ info_size

char info_size[]
Initial value:
= {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
'\0'}
#define SIZE

Definition at line 18 of file CMAKE_SIZEOF_UNSIGNED_SHORT.c.