Ejemplo n.º 1
0
        /// <summary>
        /// Formats and prints information in the object to the standard output
        /// </summary>
        /// <param name="info">rrd_info_t object with data to print</param>
        public static void Info_Print(rrd_info_t info)
        {
            IntPtr newptr = Marshal.AllocHGlobal(Marshal.SizeOf(info));

            Marshal.StructureToPtr(info, newptr, true);
            rrd_info_print(newptr);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Formats and prints information in the object to the standard output
 /// </summary>
 /// <param name="info">rrd_info_t object with data to print</param>
 public static void Info_Print(rrd_info_t info)
 {
     IntPtr newptr = Marshal.AllocHGlobal(Marshal.SizeOf(info));
     Marshal.StructureToPtr(info, newptr, true);
     rrd_info_print(newptr);
 }