X-Git-Url: https://git.octo.it/?p=sort-networks.git;a=blobdiff_plain;f=src%2Fsn_stage.h;h=6d008d63b1fca4bb89c5518b3a02f8aeadaa38c5;hp=d9475152fd537afed61af2471c6e878bfd1438a1;hb=1e765313eb44b5707ea9cdc3429ce5da48cfbcd3;hpb=c43a45975e025cb5005f46b4c930b0888806ed97 diff --git a/src/sn_stage.h b/src/sn_stage.h index d947515..6d008d6 100644 --- a/src/sn_stage.h +++ b/src/sn_stage.h @@ -191,6 +191,9 @@ int sn_stage_swap (sn_stage_t *s, int con0, int con1); */ int sn_stage_cut_at (sn_stage_t *s, int input, enum sn_network_cut_dir_e dir); +/* FIXME: Documentation */ +int sn_stage_cut (sn_stage_t *s, int *mask, sn_stage_t **prev); + /** * Remove an input from a stage, remove all touching comparators and adapt the * input indexes of all remaining comparators.