18 Commits (master)

Author SHA1 Message Date
  T. Meissner 1ad6f920d0 added memory.h & memory.c with safeFree macro as safe wrapper around the free() function; use safeFree() instead of free() 9 years ago
  T. Meissner 45f57c91e1 added linker option for math library; added dict_use to all target 9 years ago
  T. Meissner d6aba8cb68 return value of realloc now written in tmp variable for proper handling of realloc errors 9 years ago
  T. Meissner 290f6bbe4e fixed memory leak by adding free of in->pair array in dictionary_free() 9 years ago
  T. Meissner 95af873851 add new example of a (simple & not so safe) dictionary implementation from chapter 11 9 years ago
  T. Meissner 32b0ddf6b6 add comment 9 years ago
  T. Meissner 523e4b2aec added another example of extending a structure with nested anon. structs, nested in a anon. union for direct access of the nested struct 9 years ago
  T. Meissner 055bad853d moved source files in sub dirs for chapters; split Makefile for chapter10 & chapter11 sources 9 years ago
  T. Meissner 91bdbb65e2 added example of extending a structure with nested naynonymous declarations 9 years ago
  T. Meissner ead450fd8b refactoring of this_row() funct. by using pointer to string literals 9 years ago
  T. Meissner 66e5b090c1 add removing of dSYM folder in clean target 9 years ago
  T. Meissner f1af7fddc0 new target 'check' to run cppcheck on all *.c files 9 years ago
  T. Meissner 466ac5fbde add new example for designated initializers (ch. 10) 9 years ago
  T. Meissner 3865f438d3 add Makefile 9 years ago
  T. Meissner 1cd4dcfbe7 add new example of simple 'function' overloading using C11 _Generic keyword 9 years ago
  T. Meissner 37c2df71dd add check for return value of asprintf() 9 years ago
  T. Meissner 5d15239439 fixed order of includes; added _GNU_SOURCE define to succ. compile under Linux; through away return value of closedir() 9 years ago
  T. Meissner 88ac01498d initial commit of 21st century c book examples 9 years ago