mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-11 11:11:13 -03:00
This does several things. It fixes `builtin_function()` so that errors it emits are displayed. As part of doing that I've removed the unnecessary `out_err` parameter to make the interface like every other builtin. This also fixes a regression introduced by #4000 which was attempting to fix a bug introduced by #3649. Fixes #4139
13 lines
355 B
C++
13 lines
355 B
C++
// Prototypes for executing builtin_function function.
|
|
#ifndef FISH_BUILTIN_FUNCTION_H
|
|
#define FISH_BUILTIN_FUNCTION_H
|
|
|
|
#include "common.h"
|
|
|
|
class parser_t;
|
|
struct io_streams_t;
|
|
|
|
int builtin_function(parser_t &parser, io_streams_t &streams, const wcstring_list_t &c_args,
|
|
const wcstring &contents, int definition_line_offset);
|
|
#endif
|