Keybuk | random of the day | 12:48 |
---|---|---|
* Keybuk wonders whether this works | 12:48 | |
Keybuk | int | 12:48 |
Keybuk | foo (nih_local void *ptr) | 12:48 |
Keybuk | { | 12:48 |
Keybuk | nih_ref (ptr, NULL); | 12:48 |
Keybuk | // use ptr safe in the knowledge that it won't get unreferenced | 12:48 |
Keybuk | } | 12:48 |
Keybuk | no | 12:54 |
Keybuk | boo | 12:54 |
Keybuk | I'm trying to come up with a clever way of doing something and failing :-( | 22:05 |
wasabi_ | Try harder. | 22:06 |
Keybuk | lol | 22:06 |
Keybuk | basically for the tests/test_*.c files, I want to have a function per test case | 22:06 |
wasabi_ | You can do it! | 22:06 |
Keybuk | and want the list of test case functions auto-generated | 22:07 |
Keybuk | but can't figure out a clean way to do it :-/ | 22:07 |
wasabi_ | Ahh. Got me. Since I use C# I'd just use reflection. ;) | 22:08 |
Keybuk | lol | 22:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!