Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix runtime interface docs and remove accidentally added file (#4092)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Nov 11, 2019
1 parent d2c4b0d commit 7e605d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 191 deletions.
7 changes: 6 additions & 1 deletion core/runtime-interface/proc-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@ mod utils;
/// extern "C" {
/// /// Every function is exported as `ext_TRAIT_NAME_FUNCTION_NAME_version_VERSION`.
/// ///
/// /// `TRAIT_NAME` is converted into snake case.
/// ///
/// /// The type for each argument of the exported function depends on
/// /// `<ARGUMENT_TYPE as RIType>::FFIType`.
/// pub fn ext_Interface_call_some_complex_code_version_1(data: u64);
/// ///
/// /// `data` holds the pointer and the length to the `[u8]` slice.
/// pub fn ext_Interface_call_some_complex_code_version_1(data: u64) -> u64;
/// /// `optional` holds the pointer and the length of the encoded value.
/// pub fn ext_Interface_set_or_clear_version_1(optional: u64);
/// }
/// }
Expand Down
190 changes: 0 additions & 190 deletions core/sr-api/lib.rs

This file was deleted.

0 comments on commit 7e605d5

Please sign in to comment.