process.c 318 B

12345678910111213141516
  1. #include "process.h"
  2. #include "result.h"
  3. zv_result_t zv_process_change_worker(zv_process_t *self, zv_worker_t target) {
  4. self->worker = target;
  5. return ZV_SUCCESS;
  6. }
  7. zv_result_t zv_process_change_param(
  8. zv_process_t *self,
  9. zv_universal_t target
  10. ) {
  11. self->param = target;
  12. return ZV_SUCCESS;
  13. }