Changeset - 8296efe1f4dd
[Not reviewed]
0 2 0
Christopher Esterhuyse - 5 years ago 2020-06-30 16:43:54
christopher.esterhuyse@gmail.com
cbindgen fix
2 files changed with 2 insertions and 5 deletions:
0 comments (0 inline, 0 general)
reowolf.h
Show inline comments
 
@@ -31,9 +31,7 @@ typedef uint32_t PortSuffix;
 
typedef struct {
 
  ConnectorId connector_id;
 
  PortSuffix u32_suffix;
 
} Id;
 

	
 
typedef Id PortId;
 
} PortId;
 

	
 
/**
 
 * Given
 
@@ -87,7 +85,7 @@ void connector_destroy(Connector *connector);
 

	
 
ErrorCode connector_get(Connector *connector, PortId port);
 

	
 
const uint8_t *connector_gotten_bytes(Connector *connector, PortId port, uintptr_t *len);
 
const uint8_t *connector_gotten_bytes(Connector *connector, PortId port, uintptr_t *out_len);
 

	
 
/**
 
 * Initializes `out` with a new connector using the given protocol description as its configuration.
src/runtime/mod.rs
Show inline comments
 
@@ -14,7 +14,6 @@ use crate::common::*;
 
use error::*;
 

	
 
#[derive(Debug)]
 
#[repr(C)]
 
pub struct Connector {
 
    unphased: ConnectorUnphased,
 
    phased: ConnectorPhased,
0 comments (0 inline, 0 general)