{src,include}/*sm_io*: use smio_mod_handler instead of weak smio_id
Instead of using the index of the smio_mod_dispatch table, which is weak and error prone, we use a handler pointer instead.
Showing
- include/bpm_server_classes.h 3 additions, 0 deletionsinclude/bpm_server_classes.h
- include/sm_io.h 14 additions, 14 deletionsinclude/sm_io.h
- include/sm_io_bootstrap.h 5 additions, 5 deletionsinclude/sm_io_bootstrap.h
- include/sm_io_mod_dispatch.h 2 additions, 2 deletionsinclude/sm_io_mod_dispatch.h
- src/sm_io/sm_io_bootstrap.c 9 additions, 9 deletionssrc/sm_io/sm_io_bootstrap.c
Please register or sign in to comment