浏览代码

Missing getters in ptype

Ingo Albrecht 3 年之前
父节点
当前提交
7b07b05855
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      clish/ptype.h
  2. 2 0
      clish/ptype/ptype.c

+ 2 - 0
clish/ptype.h

@@ -89,9 +89,11 @@ _CLISH_SET_STR_ONCE(ptype, text);
 _CLISH_GET_STR(ptype, text);
 _CLISH_SET_STR_ONCE(ptype, completion);
 _CLISH_GET_STR(ptype, completion);
+_CLISH_GET(ptype, clish_ptype_preprocess_e, preprocess);
 _CLISH_SET_ONCE(ptype, clish_ptype_preprocess_e, preprocess);
 _CLISH_GET_STR(ptype, range);
 _CLISH_GET(ptype, clish_action_t *, action);
+_CLISH_GET_STR(ptype, pattern);
 _CLISH_GET(ptype, clish_ptype_method_e, method);
 
 void clish_ptype__set_pattern(clish_ptype_t * instance,

+ 2 - 0
clish/ptype/ptype.c

@@ -461,9 +461,11 @@ CLISH_SET_STR_ONCE(ptype, text);
 CLISH_GET_STR(ptype, text);
 CLISH_SET_STR_ONCE(ptype, completion);
 CLISH_GET_STR(ptype, completion);
+CLISH_GET(ptype, clish_ptype_preprocess_e, preprocess);
 CLISH_SET_ONCE(ptype, clish_ptype_preprocess_e, preprocess);
 CLISH_GET_STR(ptype, range);
 CLISH_GET(ptype, clish_action_t *, action);
+CLISH_GET_STR(ptype, pattern);
 CLISH_GET(ptype, clish_ptype_method_e, method);
 
 /*--------------------------------------------------------- */