Repository navigation
Commit 48d3b51
committed
context: add the path to internal libyang modules
The ly_ctx_new requires the internal libyang modules to create a
context.
Add the ly_yang_module_dir function to the cffi.
In context.py, pass the result of this function to the ly_ctx_new calls.
Signed-off-by: Jeremie Leska <jeremie.leska@6wind.com>1 parent 49a1e9a commit 48d3b51
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
254 | 259 | | |
255 | 260 | | |
256 | 261 | | |
| |||
0 commit comments