nsfCmdDefinitions.c

Clone Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Nsf_CmdDefinitionRelease(): Fix documentation

Improve comment wording and cleanup

  1. … 2 more files in changeset.
Fix refcounting

  1. … 2 more files in changeset.
nsfCmdDefinitions.c: Fix typos

Provide for releasing/deleting the hash tables for cmd definitions and enumeration-type converters in ExitHandler

  1. … 3 more files in changeset.
- 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).

  1. … 5 more files in changeset.
- added Tcl_HashKeyType cmdPtrHashKeyType for command pointers

  1. … 1 more file in changeset.
- New macros NSF_nonnull_assert() and nonnull_assert() Background: The unreleased gcc6 with "-pedantic" complaints since recently about asserts, in which nonnull conditions implied by nonnull declarations are explicitly tested, and spits out warnings like ... warning: nonnull argument ... compared to NULL ... The new macros turns off asserts, when gcc6 is used.

  1. … 16 more files in changeset.
- prefer boolean expression in tests over expressions of other types

  1. … 26 more files in changeset.
Done revising license statements in generic/*

  1. … 26 more files in changeset.
- white-space changes

  1. … 15 more files in changeset.
- complete nonnull+assert adding in .c-files other than nsf.c

  1. … 13 more files in changeset.
small introspection reform: - Introspection for commands and arguments did not work for cmds defined in subpackages (such as mongodb). We keep now this information in hashtables and maintain a slim interface for this. - fix generation of pkgIndex.tcl for mongodb

    • -0
    • +155
    ./nsfCmdDefinitions.c
  1. … 13 more files in changeset.