denise-ffi 0.23.0
“Stable C ABI for Denise. A cdylib for hosts that are not written in Rust.”
Archive ships a root-level test treeRust test marker or harness
SHA-256fdd5387e15ba2929dc39afb1d70dd21003cb0cf215a6f61e1c176dd85dea6880
MaleculeH(F)Md(Pa₂)
Evidence
66:16… e_ppm(const char *path, const uint32_t *pixels)
67{
68 FILE *f = fopen(path, "wb");
69 if (!f) {
70 perror(path);
⋯4 lines
77:33… ative-endian word, so this is shifts, not bytes. */
78 unsigned char rgb[3] = {
79 (unsigned char)((p >> 16) & 0xFF),
80 (unsigned char)((p >> 8) & 0xFF),
⋯10 lines
90:24… {
91 TextEngine::new().line_height(TextStyle::built_in(16))
92}
93
94#[test]
95fn typing_makes_lines_and_the_caret_follows() {
96 let (mut ui, id) = editor("");
97 ui.handle(&text("ab"));
98 ui.handle(&[ …
⋯5 lines
197}
198
199#[cfg(test)]
200mod tests {
201 use super::*;
202
203 #[test]
204 fn every_role_number_is_a_distinct_role() {
205 let mut seen = Vec::new();
206 for value in 0..Role::COUNT as i32 { …
22:32… NIDENTIFIED`].
23const RAW_MASK: u32 = 0x7FFF_FFFF;
24
25macro_rules! key_table {
26 ($( $c_name:ident = $value:literal => $variant:ident ),* $(,)?) => {
27 $(
28 #[doc = concat!("[`KeyCode::" …
Showing the top 5 files — 2 more files (25 regions) not shown.
No evidence locations were recorded for this file. Raw result