File: check_prototypes

package info (click to toggle)
flint 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,996 kB
  • sloc: ansic: 915,350; asm: 14,605; python: 5,340; sh: 4,512; lisp: 2,621; makefile: 787; cpp: 341
file content (33 lines) | stat: -rwxr-xr-x 2,072 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash

if test ! -e "flint.h.in";
then
    echo "Must stand in src/"
    exit 1
fi

# NOTE: This has to be altered if new modules are added
DIRS="generic_files thread_pool thread_support ulong_extras long_extras perm double_extras d_vec d_mat nfloat mpn_extras nmod nmod_vec nmod_mat nmod_poly mpn_mod fmpz fmpz_vec fmpz_mat fmpz_poly fmpz_mod fmpz_mod_vec fmpz_mod_mat fmpz_mod_poly fmpq fmpq_vec fmpq_mat fmpq_poly fq fq_vec fq_mat fq_poly fq_nmod fq_nmod_vec fq_nmod_mat fq_nmod_poly fq_zech fq_zech_mat fq_zech_poly fq_default fq_default_mat fq_default_poly fq_embed fq_nmod_embed fq_zech_embed padic padic_mat padic_poly qadic nmod_poly_factor fmpz_factor fmpz_poly_factor fmpz_mod_poly_factor fq_poly_factor fq_nmod_poly_factor fq_zech_poly_factor fq_default_poly_factor nmod_poly_mat fmpz_poly_mat mpoly nmod_mpoly fmpz_mpoly fmpz_mod_mpoly fmpq_mpoly fq_nmod_mpoly fq_zech_mpoly fmpz_mod_mpoly_q nmod_mpoly_factor fmpz_mpoly_factor fmpz_mod_mpoly_factor fmpq_mpoly_factor fq_nmod_mpoly_factor fq_zech_mpoly_factor fft fft_small fmpz_poly_q fmpz_lll n_poly arith qsieve aprcl nf nf_elem qfb double_interval dlog fmpz_extras fmpzi bool_mat partitions mag arf acf arb acb arb_mat arb_poly arb_calc arb_hypgeom acb_mat acb_poly acb_calc acb_hypgeom arb_fmpz_poly arb_fpwrap acb_dft acb_elliptic acb_modular acb_dirichlet acb_theta dirichlet bernoulli hypgeom gr gr_generic gr_vec gr_mat gr_poly gr_mpoly gr_series gr_special calcium fmpz_mpoly_q fexpr fexpr_builtin qqbar ca ca_ext ca_field ca_vec ca_poly ca_mat"

if test "$#" = "1";
then
    DIRS=$(echo "$DIRS" | cut -d' ' -f1-$1)
fi

FILES=""
for word in $DIRS;
do
    FILES+="$word/*.c "
done

ctags -x --c-kinds=p \
    --exclude=mpn_extras/mul_basecase.c \
    --exclude=mpn_extras/mulhigh_basecase.c \
    --exclude=mpn_extras/sqr_basecase.c \
    --exclude=mpn_extras/sqrhigh_basecase.c \
    --exclude=mpn_extras/mul.c \
    --exclude=mpn_extras/mullow.c \
    --exclude=arf/div.c \
    --exclude=arb/dot.c \
    --exclude=arb/can_round_mpfr.c \
    $FILES | grep -v '\<static\|FLINT_UNUSED\>'