private static extern IntPtr AStyleMainUtf16(
		    [MarshalAs(UnmanagedType.LPWStr)] String sIn,
		    [MarshalAs(UnmanagedType.LPWStr)] String sOptions,
		    AStyleErrorDelegate errorFunc,
		    AStyleMemAllocDelegate memAllocFunc
		);
Beispiel #2
0
 private static extern IntPtr AStyleMainUtf16(
     [MarshalAs(UnmanagedType.LPWStr)] String sIn,
     [MarshalAs(UnmanagedType.LPWStr)] String sOptions,
     AStyleErrorDelegate errorFunc,
     AStyleMemAllocDelegate memAllocFunc
     );
		public AStyleInterface() {
			_aStyleMemAlloc = OnAStyleMemAlloc;
			_aStyleError = OnAStyleError;
		}
Beispiel #4
0
 public AStyleInterface()
 {
     _aStyleMemAlloc = OnAStyleMemAlloc;
     _aStyleError    = OnAStyleError;
 }