]> granicus.if.org Git - graphviz/commit
gvplugin_load: use a 'strview_t' for 'dep'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 26 Jun 2022 19:19:25 +0000 (12:19 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Jul 2022 00:13:06 +0000 (17:13 -0700)
commite4b42d104025d7e959cd7cd110a0a0cb86d18e13
tree2a7a61c1bf4840c906be077593c411badcf3437c
parenteec916ebc4f8823bf3f1bd2c434b7e16861b9bfb
gvplugin_load: use a 'strview_t' for 'dep'

Similar to the previous commit, this string is either `NULL` or terminated by a
`'\0'`, so there is little advantage in using a `strview_t` over a
`const char*`. But this will make it more consistent with surrounding code after
upcoming changes.
lib/gvc/gvplugin.c