Skip to content

Commit

Permalink
Add src/applications/
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Mar 29, 2018
1 parent fee4571 commit 444027c
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ SOURCES += src/general/intfuncs.c
SOURCES += src/interpreter/interpreter.c
SOURCES += src/io.c
SOURCES += src/general/iostream.c
SOURCES += src/listfunc.c
SOURCES += src/applications/listfunc.c
SOURCES += src/math/listoper.c
SOURCES += src/core/lists.c
SOURCES += src/tnums/machine_float.c
Expand Down
Empty file added src/applications/README.md
Empty file.
20 changes: 10 additions & 10 deletions src/listfunc.c → src/applications/listfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
** This file contains the functions for generic lists.
*/

#include <src/listfunc.h>
#include <src/applications/listfunc.h>

#include <src/core/ariths.h>
#include <src/tnums/blist.h>
Expand Down Expand Up @@ -613,7 +613,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
if(IS_PLIST(list)) \
RESET_FILT_LIST(list, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

#define SORT_FUNC_NAME SortDensePlist
#define SORT_FUNC_ARGS Obj list
Expand All @@ -628,7 +628,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
#define SORT_FILTER_CHECKS() \
RESET_FILT_LIST(list, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

// This is a variant of SortDensePlist, which sorts plists by
// Obj pointer. It works on non-dense plists, and can be
Expand All @@ -646,7 +646,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(list, FN_IS_NSORT); \
RESET_FILT_LIST(list, FN_IS_SSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

/****************************************************************************
**
Expand All @@ -669,7 +669,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(list, FN_IS_SSORT); \
RESET_FILT_LIST(list, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

#define SORT_FUNC_NAME SortDensePlistComp
#define SORT_FUNC_ARGS Obj list, Obj func
Expand All @@ -686,7 +686,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(list, FN_IS_SSORT); \
RESET_FILT_LIST(list, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

/****************************************************************************
**
Expand Down Expand Up @@ -741,7 +741,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(shadow, FN_IS_SSORT); \
RESET_FILT_LIST(shadow, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

#define SORT_FUNC_NAME SortParaDensePlist
#define SORT_FUNC_ARGS Obj list, Obj shadow
Expand All @@ -764,7 +764,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(shadow, FN_IS_SSORT); \
RESET_FILT_LIST(shadow, FN_IS_NSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

#define SORT_FUNC_NAME SORT_PARA_LISTComp
#define SORT_FUNC_ARGS Obj list, Obj shadow, Obj func
Expand All @@ -785,7 +785,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(shadow, FN_IS_NSORT); \
RESET_FILT_LIST(shadow, FN_IS_SSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>

#define SORT_FUNC_NAME SortParaDensePlistComp
#define SORT_FUNC_ARGS Obj list, Obj shadow, Obj func
Expand All @@ -808,7 +808,7 @@ Obj FuncPOSITION_FIRST_COMPONENT_SORTED (
RESET_FILT_LIST(shadow, FN_IS_NSORT); \
RESET_FILT_LIST(shadow, FN_IS_SSORT);

#include <src/sortbase.h>
#include <src/applications/sortbase.h>



Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/compiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {
#include <src/tnums/integer.h>
#include <src/interpreter/interpreter.h>
#include <src/io.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/math/listoper.h>
#include <src/core/lists.h>
#include <src/tnums/machine_float.h>
Expand Down
2 changes: 1 addition & 1 deletion src/core/set.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <src/tnums/bool.h>
#include <src/gap.h>
#include <src/io.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/core/lists.h>
#include <src/tnums/plist.h>
#include <src/sysfiles.h>
Expand Down
2 changes: 1 addition & 1 deletion src/math/listoper.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <src/gap.h>
#include <src/core/gvars.h>
#include <src/io.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/core/lists.h>
#include <src/core/opers.h>
#include <src/tnums/plist.h>
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/permutat.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include <src/gapstate.h>
#include <src/tnums/integer.h>
#include <src/io.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/core/lists.h>
#include <src/core/opers.h>
#include <src/tnums/plist.h>
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/pperm.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <src/tnums/integer.h>
#include <src/general/intfuncs.h>
#include <src/io.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/core/lists.h>
#include <src/core/opers.h>
#include <src/tnums/permutat.h>
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <src/core/gvars.h>
#include <src/tnums/integer.h>
#include <src/general/intfuncs.h>
#include <src/listfunc.h>
#include <src/applications/listfunc.h>
#include <src/core/lists.h>
#include <src/core/opers.h>
#include <src/tnums/permutat.h>
Expand Down

0 comments on commit 444027c

Please sign in to comment.