File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,24 @@ This origin is shown in error reports.
230
230
231
231
------
232
232
233
+ #### yrx_compiler_add_include_dir
234
+
235
+ ``` c
236
+ enum YRX_RESULT yrx_compiler_add_include_dir (
237
+ struct YRX_COMPILER *compiler,
238
+ const char *dir);
239
+ ```
240
+
241
+ Adds a directory to the list of directories where the compiler should look for included files.
242
+
243
+ When an `include` is found, the compiler looks for the included file in the directories added
244
+ with this function, in the order they were added.
245
+
246
+ If this function is not called, the compiler will only look for included files in the current
247
+ directory.
248
+
249
+ ------
250
+
233
251
#### yrx_compiler_ignore_module
234
252
235
253
```c
Original file line number Diff line number Diff line change 673
673
" yrx_buffer_destroy" ,
674
674
" yrx_compile" ,
675
675
" yrx_compiler" ,
676
+ " yrx_compiler_add_include_dir" ,
676
677
" yrx_compiler_add_source" ,
677
678
" yrx_compiler_add_source_with_origin" ,
678
679
" yrx_compiler_ban_module" ,
You can’t perform that action at this time.
0 commit comments