Adjust examples to current platform interface

This commit is contained in:
Pit Capitain 2020-12-05 09:17:03 +01:00
parent 54ba54680d
commit ba11f9b7b9
9 changed files with 40 additions and 22 deletions

View file

@ -1,9 +1,11 @@
#![allow(non_snake_case)]
use roc_std::RocCallResult;
use roc_std::RocList;
use std::time::SystemTime;
extern "C" {
#[link_name = "_quicksort_1_exposed"]
#[link_name = "roc__quicksort_1_exposed"]
fn quicksort(list: RocList<i64>, output: &mut RocCallResult<RocList<i64>>) -> ();
}