rust: improve info headers

This commit is contained in:
joseLuís 2020-08-11 14:25:35 +02:00
parent da34965fcd
commit ec92d13306
7 changed files with 23 additions and 21 deletions

View File

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

View File

@ -25,9 +25,9 @@
// ------------------------------------------
//
// static inline functions to reimplement: 38
// ------------------------------------------
// - finished : 37
// - remaining: 1
// ------------------------------------------ (done / wont / remaining)
// - implement : 34 / 3 / 1
// - unit tests: 14 / 0 / 21
// --------------- (+) implemented (#) + unit test (x) wont implement
//#channel_alpha
//#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;
}
/// 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
#[inline]
pub fn channel_set(channel: &mut Channel, rgb: Rgb) -> IntResult {

View File

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

View File

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

View File

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

View File

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

View File

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