Robbert van der Helm
54bab5ff6d
Add an nih_trace!() macro
2022-04-24 15:30:38 +02:00
Robbert van der Helm
5ae0bee3ee
Use the new logger for the debug macros
2022-04-24 15:20:25 +02:00
Robbert van der Helm
329d1a63ab
Use $crate in the macros to refer to other macros
...
So you don't need to import all of them for them to work.
2022-04-11 17:44:54 +02:00
Robbert van der Helm
8371f767ce
Fix typo in debug assert macros
2022-03-20 12:44:29 +01:00
Robbert van der Helm
f645b6a92f
Relicense under the ISC license
2022-02-12 16:04:46 +01:00
Robbert van der Helm
1c80744989
nih_debug_assert_neq -> nih_debug_assert_ne
2022-02-02 22:29:14 +01:00
Robbert van der Helm
3064132821
Improve and simplify token handling in macros
...
The standard library macros also use a `$($foo:tt)*` for this, so we
should probably too. Since eprinln!() already handles trailing commas we
don't need to do any special handling, and this fixes parsing with
complex expressions as arguments.
2022-01-28 14:47:26 +01:00
Robbert van der Helm
fa13371c5f
Allow trailing commas in debug macros
2022-01-28 13:32:37 +01:00
Robbert van der Helm
2614be26ab
Add an unconditional debug assertion failure macro
2022-01-26 20:55:01 +01:00
Robbert van der Helm
070e68c084
Move nih_plug to the repo's root
...
Makes more sense to have this be on the same level as the workspace
since technically this crate can be used separately.
2022-01-26 12:52:57 +01:00