getCPtr() static private method

static private getCPtr ( Connection obj ) : global::System.Runtime.InteropServices.HandleRef
obj Connection
return global::System.Runtime.InteropServices.HandleRef
Beispiel #1
0
 public void setitem(int index, Connection value)
 {
     fanndoublePINVOKE.ConnectionArray_setitem(swigCPtr, index, Connection.getCPtr(value));
     if (fanndoublePINVOKE.SWIGPendingException.Pending)
     {
         throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
        public static ConnectionArray frompointer(Connection t)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.ConnectionArray_frompointer(Connection.getCPtr(t));
            ConnectionArray       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ConnectionArray(cPtr, false);

            return(ret);
        }
Beispiel #3
0
 public void set_weight_array(Connection connections, uint num_connections)
 {
     fanndoublePINVOKE.neural_net_set_weight_array(swigCPtr, Connection.getCPtr(connections), num_connections);
 }
Beispiel #4
0
 public void get_connection_array(Connection connections)
 {
     fanndoublePINVOKE.neural_net_get_connection_array(swigCPtr, Connection.getCPtr(connections));
 }