From 70bd73151aa7735791506e232319e9825c7e02be Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 17 Sep 2004 23:03:17 +0000 Subject: [PATCH] wrap some long lines --- bindings/dotnet/src/Sigar.cs | 52 +++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/bindings/dotnet/src/Sigar.cs b/bindings/dotnet/src/Sigar.cs index 615f5760..393ce025 100644 --- a/bindings/dotnet/src/Sigar.cs +++ b/bindings/dotnet/src/Sigar.cs @@ -107,7 +107,8 @@ namespace Hyperic.Sigar { private readonly ulong NA_cached; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_mem_get(IntPtr sigar, IntPtr mem); + private static extern int + sigar_mem_get(IntPtr sigar, IntPtr mem); internal static Mem NativeGet(Sigar sigar) { Type type = typeof(Mem); @@ -135,7 +136,8 @@ namespace Hyperic.Sigar { public readonly ulong Free; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_swap_get(IntPtr sigar, IntPtr swap); + private static extern int + sigar_swap_get(IntPtr sigar, IntPtr swap); internal static Swap NativeGet(Sigar sigar) { Type type = typeof(Swap); @@ -164,7 +166,8 @@ namespace Hyperic.Sigar { public readonly ulong Total; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_get(IntPtr sigar, IntPtr cpu); + private static extern int + sigar_cpu_get(IntPtr sigar, IntPtr cpu); internal static Cpu NativeGet(Sigar sigar) { Type type = typeof(Cpu); @@ -201,12 +204,12 @@ namespace Hyperic.Sigar { private readonly IntPtr data; [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_info_list_get(IntPtr sigar, - IntPtr cpu_infos); + private static extern int + sigar_cpu_info_list_get(IntPtr sigar, IntPtr cpu_infos); [DllImport(Sigar.LIBSIGAR)] - private static extern int sigar_cpu_info_list_destroy(IntPtr sigar, - IntPtr cpu_infos); + private static extern int + sigar_cpu_info_list_destroy(IntPtr sigar, IntPtr cpu_infos); internal static CpuInfo[] NativeGet(Sigar sigar) { Type type = typeof(CpuInfoList); @@ -228,7 +231,8 @@ namespace Hyperic.Sigar { int size = Marshal.SizeOf(infos[0]); for (int i=0; i