library: provide for validating result type references
During development, we now have a means for validating that a type referenced in application code matches the actual type set by the library. The new feature can be activated through either of the following two methods: 1) ./configure CFLAGS='-DXTRA_PROCPS_DEBUG' (all pgms) 2) an #include <proc/xtra-procps-debug.h> (single pgm) [ in the future, one could add a formal configure.ac ] [ provision. but for now a manual approach is safer. ] Lastly, for any module which provides a sort function, the handling for both 'noop' & 'extra' enumerators was made consistent. Now, 'noop' is not sorted and 'extra' will be sorted as that module's widest supported type. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -206,7 +206,8 @@ proc_libprocps_la_SOURCES = \
|
||||
proc/wchan.c \
|
||||
proc/wchan.h \
|
||||
proc/uptime.c \
|
||||
proc/uptime.h
|
||||
proc/uptime.h \
|
||||
proc/xtra-procps-debug.h
|
||||
|
||||
proc_libprocps_la_includedir = $(includedir)/proc/
|
||||
proc_libprocps_la_include_HEADERS = \
|
||||
@@ -223,7 +224,8 @@ proc_libprocps_la_include_HEADERS = \
|
||||
proc/uptime.h \
|
||||
proc/version.h \
|
||||
proc/vmstat.h \
|
||||
proc/wchan.h
|
||||
proc/wchan.h \
|
||||
proc/xtra-procps-debug.h
|
||||
|
||||
dist_man_MANS += \
|
||||
proc/openproc.3 \
|
||||
|
Reference in New Issue
Block a user