pichecks.h
Go to the documentation of this file.
1 
8 #ifndef PICHECKS_H
9 #define PICHECKS_H
10 #include "picell.h"
11 #include "pierror.h"
12 
13 // ==================== Number of arguments checks ====================
14 void check_zero_arg(cell * args);
15 void check_one_arg(cell *args);
16 void check_two_args(cell *args);
17 void check_three_args(cell *args);
18 
19 // ==================== Arithmetic ====================
20 void check_addition_atom(cell *arg);
21 void check_subtraction(cell *args);
22 void check_subtraction_atom(cell *arg);
24 void check_division(cell *args);
25 void check_division_atom(cell *arg);
26 
27 // ==================== Comparison ====================
28 void check_comparables(cell *args);
29 
30 // ==================== Lists ====================
31 void check_length(cell *args);
32 void check_member(cell *args);
33 void check_nth(cell *args);
34 void check_subseq(cell *args);
35 void check_append(cell *args);
36 void check_concatenate(cell *args);
37 
38 // ==================== Utility ====================
39 void check_set(cell *args);
40 
41 // ==================== Macros ====================
42 void check_setq(cell *args);
43 
44 // ==================== Pilisp special functions ====================
45 void check_compile(cell *args);
46 
47 // ==================== Basic Lisp functions ====================
48 void check_car(cell *args);
49 void check_cdr(cell *args);
50 
51 #endif // !PICHECKS_H
void check_multiplication_atom(cell *arg)
Definition: pichecks.c:50
void check_subtraction(cell *args)
Definition: pichecks.c:40
void check_nth(cell *args)
Definition: pichecks.c:96
void check_car(cell *args)
Definition: pichecks.c:154
void check_two_args(cell *args)
Definition: pichecks.c:17
void check_subtraction_atom(cell *arg)
Definition: pichecks.c:45
void check_cdr(cell *args)
Definition: pichecks.c:158
void check_comparables(cell *args)
Definition: pichecks.c:73
void check_zero_arg(cell *args)
Definition: pichecks.c:5
void check_length(cell *args)
Definition: pichecks.c:84
void check_division(cell *args)
Definition: pichecks.c:57
void check_division_atom(cell *arg)
Definition: pichecks.c:64
void check_setq(cell *args)
Definition: pichecks.c:137
void check_set(cell *args)
Definition: pichecks.c:129
Basic Lisp entity.
Definition: picell.h:44
void check_compile(cell *args)
Definition: pichecks.c:146
void check_append(cell *args)
Definition: pichecks.c:111
void check_addition_atom(cell *arg)
Definition: pichecks.c:33
void check_concatenate(cell *args)
Definition: pichecks.c:117
void check_subseq(cell *args)
Definition: pichecks.c:104
void check_one_arg(cell *args)
Definition: pichecks.c:10
void check_member(cell *args)
Definition: pichecks.c:90
void check_three_args(cell *args)
Definition: pichecks.c:24