mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-02 16:04:05 +08: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.
10 lines
228 B
C++
10 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
|