-
follow up for https://github.com/genotrance/nimterop/issues/11:
`constants` works but not C `macros`, see test case in https://github.com/genotrance/nimterop/pull/30
## [EDIT] examples
```
#defi…
-
Hey - thanks for this excellent package! My code is littered with `@memoize`!
I have a feature request/idea:
I have a lot of IO-operations and have thus made my code highly concurrent (littered wi…
-
## literals-as-strings
this was discussed in forum recently (EDIT: not sure how to find it D20200425T182934; EDIT: https://irclogs.nim-lang.org/02-04-2020.html#12:45:32); the idea is to make the pars…
-
A crude ring buffer to manage a FIFO
# Descriptor
* word capacity : number of items
* word indexPush : item index where new data will be pushed
* word indexPop : item index where is the next dat…
-
I've spotted a couple of places where we don't properly short-circuit when an error occurs, and instead we attempt to go on as if everything went right. [For example, here.](https://github.com/ably/ab…
tcard updated
2 years ago
-
**this is a discussion not something that is going to happen now**
Anyone who has glanced at the code will undoubtedly know it's littered with these sort of macros. Some check for these specific MK…
-
### Code
```Rust
#[derive(Debug)]
pub(crate) struct UInt16LE {
bytes: [u8; 2],
}
#[derive(Debug)]
#[repr(C, packed)]
pub(crate) struct Header {
version: u8,
kind: UInt16LE,
}
`…
-
As a follow-up from #13167, there was an unresolved [discussion](https://github.com/openssl/openssl/pull/13167#discussion_r516464407) about using macros for certain strings which are currently hard-co…
-
my very first program compiled with mingw-w64 was
```c
#include
int main() { printf("%zu\n", sizeof(off_t)); }
```
it prints "zu".
turns out that there's a proper POSIX compatible pri…
-
1. Why all the `{type-}` macros rather than just ``?
2. Why are properties documented as `Vehicle.property`? This implies that they were "class variables" (`static` in Java) rather than per-instance …