Commits

Anonymous committed 7e0e479

- sync to 2.0.29

  • Participants
  • Parent commits 3a03a70

Comments (0)

Files changed (1)

File src/entities.tcl

 puts $f " *       entities.tcl"
 puts $f " */"
 puts $f ""
+puts $f "#ifdef __cplusplus"
+puts $f "extern \"C\" {"
+puts $f "#endif"
+puts $f ""
 puts $f "struct entities_s {"
 puts $f "	char	*name;"
 puts $f "	int	value;"
 puts $f ""
 puts $f "#define ENTITY_NAME_LENGTH_MAX $entity_name_length_max"
 puts $f "#define NR_OF_ENTITIES $nr_of_entities"
+puts $f ""
+puts $f "#ifdef __cplusplus"
+puts $f "}"
+puts $f "#endif"
 close $f