getCPtr() статический приватный Метод

static private getCPtr ( Connection obj ) : global::System.Runtime.InteropServices.HandleRef
obj Connection
Результат global::System.Runtime.InteropServices.HandleRef
Пример #1
0
 public void setitem(int index, Connection value)
 {
     fannfixedPINVOKE.ConnectionArray_setitem(swigCPtr, index, Connection.getCPtr(value));
     if (fannfixedPINVOKE.SWIGPendingException.Pending)
     {
         throw fannfixedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public void set_weight_array(Connection connections, uint num_connections)
 {
     fannfixedPINVOKE.neural_net_set_weight_array(swigCPtr, Connection.getCPtr(connections), num_connections);
 }
Пример #3
0
 public void get_connection_array(Connection connections)
 {
     fannfixedPINVOKE.neural_net_get_connection_array(swigCPtr, Connection.getCPtr(connections));
 }
Пример #4
0
        public static ConnectionArray frompointer(Connection t)
        {
            global::System.IntPtr cPtr = fannfixedPINVOKE.ConnectionArray_frompointer(Connection.getCPtr(t));
            ConnectionArray       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ConnectionArray(cPtr, false);

            return(ret);
        }