Changeset 2768 for trunk/src/kmk/function.c
- Timestamp:
- Jan 31, 2015, 5:49:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r2765 r2768 5808 5808 #endif /* CONFIG_WITH_VALUE_LENGTH */ 5809 5809 5810 #ifdef CONFIG_WITH_COMPILER 5811 /* Used by the "compiler" to get all info about potential functions. */ 5812 make_function_ptr_t 5813 lookup_function_for_compiler (const char *name, unsigned int len, 5814 unsigned char *minargsp, unsigned char *maxargsp, 5815 char *expargsp, const char **funcnamep) 5816 { 5817 const struct function_table_entry *entry_p = lookup_function (name, len); 5818 if (!entry_p) 5819 return 0; 5820 *minargsp = entry_p->minimum_args; 5821 *maxargsp = entry_p->maximum_args; 5822 *expargsp = entry_p->expand_args; 5823 *funcnamep = entry_p->name; 5824 return entry_p->func_ptr; 5825 } 5826 #endif /* CONFIG_WITH_COMPILER */ 5827 5810 5828 5811 5829
Note:
See TracChangeset
for help on using the changeset viewer.