public static void addGraph(Information info, int type) { if (data == IntPtr.Zero) { Api.CreateGraph(ref data, info); } else { Api.AddGraph(data, info, type); } }
public static void addGraph(IntPtr dad, Information info, int type) { Api.AddGraph(dad, info, type); }