public string GetOperator(OperatorIndex index)
		{
			var result = migemo_get_operator(_migemoObject, index);
			if (result != IntPtr.Zero)
				return Marshal.PtrToStringAnsi(result);
			return "";
		}
Beispiel #2
0
        public string GetOperator(OperatorIndex index)
        {
            var result = migemo_get_operator(_migemoObject, index);

            if (result != IntPtr.Zero)
            {
                return(Marshal.PtrToStringAnsi(result));
            }
            return("");
        }
		public bool SetOperator(OperatorIndex index, string op)
		{
			return migemo_set_operator(_migemoObject, index, op) != 0;
		}
		private static extern IntPtr migemo_get_operator(IntPtr obj,
			OperatorIndex index);
		private static extern int migemo_set_operator(IntPtr obj,
			OperatorIndex index, string op);
Beispiel #6
0
 public bool SetOperator(OperatorIndex index, string op)
 {
     return(migemo_set_operator(this.migemoObject, index, op) != 0);
 }
Beispiel #7
0
 private static extern IntPtr migemo_get_operator(IntPtr obj,
                                                  OperatorIndex index);
Beispiel #8
0
 private static extern int migemo_set_operator(IntPtr obj,
                                               OperatorIndex index, string op);
Beispiel #9
0
 private static extern int MigemoSetOperator(IntPtr migemoObj, OperatorIndex opIndex, [In] string opString);