mirror of https://github.com/arendst/Tasmota.git
Merge pull request #15907 from s-hadinger/rename_pycoc
Rename pycoc to coc
This commit is contained in:
commit
9570b0ea89
|
@ -5,4 +5,4 @@
|
|||
# Should be eventually included in the build process
|
||||
#
|
||||
rm generate/be_*.h
|
||||
python3 tools/pycoc/main.py -o generate src default ../berry_tasmota/src ../berry_mapping/src ../berry_int64/src ../../libesp32_lvgl/lv_binding_berry/src ../../libesp32_lvgl/lv_binding_berry/generate -c default/berry_conf.h
|
||||
python3 tools/coc/coc -o generate src default ../berry_tasmota/src ../berry_mapping/src ../berry_int64/src ../../libesp32_lvgl/lv_binding_berry/src ../../libesp32_lvgl/lv_binding_berry/generate -c default/berry_conf.h
|
||||
|
|
|
@ -45,7 +45,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
/* try to use the predefined string in strtab, but don't create an instance if none is present */
|
||||
/* the behavior is exactly the same as `be_const_key()` but it not detected by pycoc */
|
||||
/* the behavior is exactly the same as `be_const_key()` but it not detected by coc */
|
||||
#define be_const_key_weak(_str, _next) { \
|
||||
.v.c = &be_const_str_##_str, \
|
||||
.type = BE_STRING, \
|
||||
|
@ -309,7 +309,7 @@ const bcstring be_const_str_##_name = { \
|
|||
}
|
||||
|
||||
/* try to use the predefined string in strtab, but don't create an instance if none is present */
|
||||
/* the behavior is exactly the same as `be_const_key()` but it not detected by pycoc */
|
||||
/* the behavior is exactly the same as `be_const_key()` but it not detected by coc */
|
||||
#define be_const_key_weak(_str, _next) { \
|
||||
bvaldata(&be_const_str_##_str), \
|
||||
BE_STRING, \
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# python3 main.py -o out in
|
||||
# coc
|
||||
#! /usr/bin/env python3
|
||||
|
||||
import re
|
||||
import os
|
|
@ -224,7 +224,7 @@ This phase is specific to Berry pre-compiled modules and classes.
|
|||
```
|
||||
(berry)
|
||||
|
||||
> python3 tools/pycoc/main.py -o generate src default ../berry_mapping/src ../lv_berry/src ../lv_berry/generate -c default/berry_conf.h
|
||||
> python3 tools/coc/coc -o generate src default ../berry_mapping/src ../lv_berry/src ../lv_berry/generate -c default/berry_conf.h
|
||||
(no output)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue