mirror of
https://github.com/Ed94/WATL_Exercise.git
synced 2025-08-06 07:12:42 -07:00
editor config
This commit is contained in:
33
.editorconfig
Normal file
33
.editorconfig
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*.refactor]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.c]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.cpp]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.h]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.hpp]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.ps1]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.natvis]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
@@ -147,7 +147,7 @@ The actual macro uses farray helper macros:
|
|||||||
```c
|
```c
|
||||||
#define slice_arg_from_array(type, ...) & (tmpl(Slice,type)) { \
|
#define slice_arg_from_array(type, ...) & (tmpl(Slice,type)) { \
|
||||||
.ptr = farray_init(type, __VA_ARGS__), \
|
.ptr = farray_init(type, __VA_ARGS__), \
|
||||||
.len = farray_len( farray_init(type, __VA_ARGS__) \
|
.len = farray_len( farray_init(type, __VA_ARGS__)) \
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user