libsocket : Updated sockets to add poll function, also added wrappers for external use

Signed-off-by: Lucas Bajolet <lucas.bajolet@hotmail.com>
metrics: add Counter#print_elements

Signed-off-by: Jean Privat <jean@pryen.org>
metrics: use print_elements in static_type_metrics

Signed-off-by: Jean Privat <jean@pryen.org>
metrics: add ast_metrics

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav/nitmetrics

Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'ast_metrics'
lib: fix import of stdio.h for String::to_precision

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
model: add Type#length

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add missing copyright info to test_ffi_c_simple

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: fix missing code in test_ffi_c_callback_extern_receiver

Some C includes and Nit callbacks were missing.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: converts 6 tests from the old nitni to FFI

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
make: compile nitg with -O

c7fa2b1c75ce1a90f86be837272d7b460a3cf775 dropped the -O for nitg

Signed-off-by: Jean Privat <jean@pryen.org>
model: most anchors can be null

This help the standard case where the type are all resolved.

Signed-off-by: Jean Privat <jean@pryen.org>
model: add MType::can_resolve_for

Also beef-up most methods that require resolution with preconditions that
rely on `can_resolve_for`

Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'model'
nitg-s: do not compile_class_to_c for abstract classes and interfaces

Signed-off-by: Jean Privat <jean@pryen.org>
rta: add RapidTypeAnalysis::live_classes

Signed-off-by: Jean Privat <jean@pryen.org>
nitg-s: compile_class_to_c works less for dead classes

Signed-off-by: Jean Privat <jean@pryen.org>
phases: stop displaying location for property on verbose level 4

Signed-off-by: Jean Privat <jean@pryen.org>
model: cache `to_s` for MClassDef, MGenericType, MNullableType, MPropDef

Signed-off-by: Jean Privat <jean@pryen.org>