nsfFunPtrHashTable.c

Clone Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added support for compiling with Tcl 9.0 (Many Thanks to Jan Nijtmans for first steps)

This version compiles cleanly at least with Tcl 8.6.* and Tcl 9.0 (fossil trunk),

having -pedantic and -Wextra defined.

  1. … 20 more files in changeset.
whitespace changes: more consistent indentation of comments

  1. … 25 more files in changeset.
silence gcc7+: use attribute based approach for denoting fall through in case statements

  1. … 4 more files in changeset.
Change http:// occurrences to https://, if applicable (URLs tested)

  1. … 57 more files in changeset.
improve comments

  1. … 13 more files in changeset.
More code cleanup

- make nsf compilable with tcl 8.7.2 and TCL_NO_DEPRECATED turned on

- prefer bool over int

- reduce nr of returns before end of function

- line bread overlong function definitions

  1. … 12 more files in changeset.
fix typos, updaty copyright years according to commits

  1. … 13 more files in changeset.
- Use uniform spelling of "Tcl" - Fix more spelling errors

  1. … 18 more files in changeset.
- removed unneeded arguments - mark unused arguments as UNUSED

  1. … 4 more files in changeset.
nsfFunPtrHashTable.c: Fix typos in code comments

FreeFunPtrEntry is not needed actually

Fix refcounting

  1. … 2 more files in changeset.
FreeFunPtrEntry(): Add deletion handler for cmddef and enumeration-type hash entries

- remove commented code from the previous implementation

  1. … 2 more files in changeset.
Avoid inline comment style

  1. … 4 more files in changeset.
Re-factored new hash-table infrastructure (based on function-pointer keys) to support method-definitions (and future uses as well).

    • -0
    • +282
    ./nsfFunPtrHashTable.c
  1. … 5 more files in changeset.