mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
41a7b9457c
This is the second baby step in resolving #3157. Implement a bare minimum builtin `math` command. This is solely to ensure that fish can be built and run in the Travis build environments. This is okay since anyone running `builtin math` today is already getting an error response. Also, more work is needed to support bare var references, multiple result values, etc.
9 lines
228 B
C++
9 lines
228 B
C++
// Prototypes for executing builtin_math function.
|
|
#ifndef FISH_BUILTIN_MATH_H
|
|
#define FISH_BUILTIN_MATH_H
|
|
|
|
class parser_t;
|
|
struct io_streams_t;
|
|
|
|
int builtin_math(parser_t &parser, io_streams_t &streams, wchar_t **argv);
|
|
#endif
|