Skip to content

Commit

Permalink
Merge pull request #2144 from g-maxime/graphviz-version
Browse files Browse the repository at this point in the history
Replace old gvPluginList function signature
  • Loading branch information
JeromeMartinez authored Nov 13, 2024
2 parents ef5750b + 5196832 commit 149f9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/MediaInfo/Export/Export_Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Ztring Dot2Svg(const Ztring& Dot)
return ToReturn;

int Renderers_Size=0;
char** Renderers=gvPluginList(Context, "render", &Renderers_Size, NULL);
char** Renderers=gvPluginList(Context, "render", &Renderers_Size);
for (int Pos=0; Pos<Renderers_Size; Pos++) {
if (!strcmp(Renderers[Pos], "cairo"))
Cairo=true;
Expand Down
2 changes: 1 addition & 1 deletion Source/MediaInfo/Export/Export_Graph_gvc_Include.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ extern "C"
// Interface
typedef GVC_t* (*gvc_Module_gvContext)(); static gvc_Module_gvContext gvContext=NULL;
typedef int (*gvc_Module_gvFreeContext)(GVC_t*); static gvc_Module_gvFreeContext gvFreeContext=NULL;
typedef char** (*gvc_Module_gvPluginList)(GVC_t*, const char*, int*, const char*); static gvc_Module_gvPluginList gvPluginList=NULL;
typedef char** (*gvc_Module_gvPluginList)(GVC_t*, const char*, int*); static gvc_Module_gvPluginList gvPluginList=NULL;
typedef int (*gvc_Module_gvLayout)(GVC_t*, graph_t*, const char*); static gvc_Module_gvLayout gvLayout=NULL;
typedef int (*gvc_Module_gvFreeLayout)(GVC_t*, graph_t*); static gvc_Module_gvFreeLayout gvFreeLayout=NULL;
typedef int (*gvc_Module_gvRenderData)(GVC_t*, graph_t*, const char*, char**, unsigned int*); static gvc_Module_gvRenderData gvRenderData=NULL;
Expand Down

0 comments on commit 149f9ca

Please sign in to comment.