rust: improve info headers

pull/875/head^2
joseLuís 4 years ago
parent da34965fcd
commit ec92d13306

@ -8,9 +8,9 @@
// - cells_rounded_box // - cells_rounded_box
// //
// static inline functions to reimplement: 45 // static inline functions to reimplement: 45
// ------------------------------------------ // ------------------------------------------ (done / wont / remaining)
// - finished : ±2 // - implement : 2 / 0 / 43
// - remaining: 43 // - unit tests: 0 / 0 / 45
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
// cell_bchannel // cell_bchannel
// cell_bg // cell_bg

@ -25,9 +25,9 @@
// ------------------------------------------ // ------------------------------------------
// //
// static inline functions to reimplement: 38 // static inline functions to reimplement: 38
// ------------------------------------------ // ------------------------------------------ (done / wont / remaining)
// - finished : 37 // - implement : 34 / 3 / 1
// - remaining: 1 // - unit tests: 14 / 0 / 21
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
//#channel_alpha //#channel_alpha
//#channel_b //#channel_b
@ -109,7 +109,7 @@ pub fn channel_set_rgb(channel: &mut Channel, r: Color, g: Color, b: Color) {
*channel = (*channel & !ffi::CELL_BG_RGB_MASK) | ffi::CELL_BGDEFAULT_MASK | rgb; *channel = (*channel & !ffi::CELL_BG_RGB_MASK) | ffi::CELL_BGDEFAULT_MASK | rgb;
} }
/// Same as chennel_set_rgb(), but provide an assembled, packed 24 bits of rgb. /// Same as channel_set_rgb(), but provide an assembled, packed 24 bits of rgb.
// TODO: TEST // TODO: TEST
#[inline] #[inline]
pub fn channel_set(channel: &mut Channel, rgb: Rgb) -> IntResult { pub fn channel_set(channel: &mut Channel, rgb: Rgb) -> IntResult {

@ -1,8 +1,10 @@
// functions already exported by bindgen : 0 // functions already exported by bindgen : 0
// ------------------------------------------
// //
// static inline functions to reimplement: 2 // static inline functions to reimplement: 2
// - finished : 2 // ------------------------------------------ (done / wont / remaining)
// - remaining: 0 // - implement : 2 / 0 / 0
// - unit tests: 0 / 0 / 2
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
//+nckey_mouse_p //+nckey_mouse_p
//+nckey_supppuab_p //+nckey_supppuab_p

@ -37,9 +37,9 @@
// notcurses_version_components // notcurses_version_components
// //
// static inline functions to reimplement: 4 // static inline functions to reimplement: 4
// ----------------------------------------- // ----------------------------------------- (done / wont / remaining)
// - finished : 0 // - implement : 0 / 0 / 4
// - remaining: 4 // - unit tests: 0 / 0 / 4
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
// notcurses_getc_blocking // notcurses_getc_blocking
// notcurses_getc_nblock // notcurses_getc_nblock

@ -10,9 +10,9 @@
// palette256_use // palette256_use
// //
// static inline functions to reimplement: 3 // static inline functions to reimplement: 3
// ----------------------------------------- // ----------------------------------------- (done / wont / remaining)
// - finished : 1 // - implement : 1 / 0 / 2
// - remaining: 2 // - unit tests: 0 / 0 / 3
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
//+palette256_get_rgb //+palette256_get_rgb
// palette256_set // palette256_set

@ -12,9 +12,9 @@
// ----------------------------------------- // -----------------------------------------
// //
// static inline functions to reimplement: 10 // static inline functions to reimplement: 10
// ------------------------------------------ // ------------------------------------------ (done / wont / remaining)
// - finished : 10 // - implement : 10 / 0 / 0
// - remaining: 0 // - unit tests: 0 / 0 / 10
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
//+ncpixel //+ncpixel
//+ncpixel_a //+ncpixel_a

@ -88,9 +88,9 @@
// ncplane_yx // ncplane_yx
// //
// static inline functions to reimplement: 42 // static inline functions to reimplement: 42
// ------------------------------------------ // ------------------------------------------ (done / wont / remaining)
// - finished : ±4 // - implement : 4 / 0 / 38
// - remaining: 38 // - unit tests: 0 / 0 / 42
// --------------- (+) implemented (#) + unit test (x) wont implement // --------------- (+) implemented (#) + unit test (x) wont implement
// ncplane_align // ncplane_align
// ncplane_at_cursor_cell // ncplane_at_cursor_cell

Loading…
Cancel
Save