Add Ibis.source_get_prefix and Ibis.source_strip_prefix

Review Request #3458 — Created Sept. 1, 2024 and submitted

Information

ibis/ibis
default

Reviewers

Add Ibis.source_get_prefix and Ibis.source_strip_prefix

Ran the source tests under valgrind and called in the turtles for the rest.

Summary ID
Add Ibis.source_get_prefix and Ibis.source_strip_prefix
efaddb319116b71108ed8d66de6445c2e52cf93e
Description From Last Updated

May be redundant since this is static and all callers check.

QuLogicQuLogic

This priority thing maybe should be mentioned in the docs for the functions.

QuLogicQuLogic

This probably could be just source[source_offset] == '\0' to avoid the strlen.

QuLogicQuLogic

This probably conflicts since we have 0.7.1 now.

QuLogicQuLogic
QuLogic
  1. 
      
  2. ibis/ibissource.c (Diff revision 1)
     
     
     
    Show all issues

    May be redundant since this is static and all callers check.

    1. Yeah it was just me being defensive. I can go either way on keeping them.

  3. ibis/ibissource.c (Diff revision 1)
     
     
     
     
     
    Show all issues

    This priority thing maybe should be mentioned in the docs for the functions.

  4. ibis/ibissource.c (Diff revision 1)
     
     
    Show all issues

    This probably could be just source[source_offset] == '\0' to avoid the strlen.

  5. 
      
QuLogic
  1. 
      
  2. meson.build (Diff revision 1)
     
     
    Show all issues

    This probably conflicts since we have 0.7.1 now.

  3. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed