Browse Source

Missing getters in ptype

Ingo Albrecht 3 years ago
parent
commit
7b07b05855
2 changed files with 4 additions and 0 deletions
  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);
 
 /*--------------------------------------------------------- */