Skip to content

Commit

Permalink
Add src/util/
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Nov 16, 2017
1 parent 23abd90 commit ada239c
Show file tree
Hide file tree
Showing 34 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ SOURCES += src/compiler.c
SOURCES += src/compstat.c
SOURCES += src/math/costab.c
SOURCES += src/tnums/cyclotom.c
SOURCES += src/debug.c
SOURCES += src/util/debug.c
SOURCES += src/math/dt.c
SOURCES += src/math/dteval.c
SOURCES += src/interpreter/exprs.c
Expand Down
2 changes: 1 addition & 1 deletion src/core/calls.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define GAP_CALLS_H

#include <src/gap.h>
#include <src/gaputils.h>
#include <src/util/gaputils.h>
#include <src/core/lists.h>


Expand Down
2 changes: 1 addition & 1 deletion src/core/gvars.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include <src/hpc/thread.h> /* threads */
#include <src/hpc/aobjects.h> /* atomic objects */

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#ifdef HPCGAP
#include <src/hpc/systhread.h> /* system thread primitives */
Expand Down
2 changes: 1 addition & 1 deletion src/core/lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>


/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/core/objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include <src/hpc/traverse.h> /* object traversal */
#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>


static Int lastFreePackageTNUM = FIRST_PACKAGE_TNUM;
Expand Down
2 changes: 1 addition & 1 deletion src/core/objects.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef GAP_OBJECTS_H
#define GAP_OBJECTS_H

#include <src/debug.h>
#include <src/util/debug.h>
#include <src/tnums/intobj.h>

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/core/records.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#include <src/hpc/systhread.h> /* system thread primitives */

#include <src/gaputils.h>
#include <src/util/gaputils.h>


/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/core/saveload.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <src/core/saveload.h> /* saving and loading */


#include <src/gaputils.h>
#include <src/util/gaputils.h>

/***************************************************************************
**
Expand Down
2 changes: 1 addition & 1 deletion src/gap.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
#include <src/general/intfuncs.h>
#include <src/general/iostream.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

/****************************************************************************
**
Expand Down
2 changes: 1 addition & 1 deletion src/gasman.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
#include <src/core/objects.h> /* objects */
#include <src/interpreter/scanner.h> /* scanner */

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <stddef.h>

Expand Down
2 changes: 1 addition & 1 deletion src/gasman.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define GAP_GASMAN_H

#include <src/system.h>
#include <src/debug.h>
#include <src/util/debug.h>


/****************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions src/hpc/aobjects.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <src/interpreter/stats.h> /* statements */
#include <src/interpreter/funcs.h> /* functions */

#include <src/fibhash.h>
#include <src/util/fibhash.h>

#include <src/tnums/stringobj.h>

Expand All @@ -60,7 +60,7 @@

#include <src/compiler.h> /* compiler */

#include <src/gaputils.h>
#include <src/util/gaputils.h>


Obj TYPE_ALIST;
Expand Down
2 changes: 1 addition & 1 deletion src/hpc/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <src/tnums/stringobj.h>
#include <src/interpreter/stats.h>
#include <src/gap.h>
#include <src/fibhash.h>
#include <src/util/fibhash.h>

#include <src/hpc/misc.h>
#include <src/hpc/guards.h>
Expand Down
2 changes: 1 addition & 1 deletion src/hpc/threadapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

#include <src/compiler.h> /* compiler */

#include <src/gaputils.h>
#include <src/util/gaputils.h>


struct WaitList {
Expand Down
2 changes: 1 addition & 1 deletion src/hpc/traverse.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <src/hpc/guards.h>
#include <src/hpc/thread.h>
#include <src/hpc/traverse.h>
#include <src/fibhash.h>
#include <src/util/fibhash.h>
#include <src/tnums/objset.h>

#ifdef BOEHM_GC
Expand Down
2 changes: 1 addition & 1 deletion src/interpreter/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef GAP_CODE_H
#define GAP_CODE_H

#include <src/debug.h>
#include <src/util/debug.h>
#include <src/gasman.h>
#include <src/core/objects.h>

Expand Down
2 changes: 1 addition & 1 deletion src/interpreter/hookintrprtr.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include <src/hpc/thread.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

/* List of active hooks */
struct InterpreterHooks * activeHooks[HookCount];
Expand Down
2 changes: 1 addition & 1 deletion src/interpreter/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <assert.h>
#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion src/interpreter/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

#include <src/interpreter/hookintrprtr.h> /* visit statements for profiling */

#include <src/gaputils.h>
#include <src/util/gaputils.h>


/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/interpreter/vars.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

#include <src/interpreter/hookintrprtr.h> /* installing methods */

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion src/sysfiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#include <src/interpreter/read.h> /* reader */

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <src/interpreter/stats.h>

Expand Down
2 changes: 1 addition & 1 deletion src/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <src/sysfiles.h> /* file input/output */
#include <src/gasman.h>
#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <src/interpreter/stats.h>

Expand Down
2 changes: 1 addition & 1 deletion src/tnums/blister.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>


/****************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions src/tnums/objset.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
#include <src/core/lists.h> /* generic lists */
#include <src/tnums/plist.h> /* plain lists */

#include <src/fibhash.h>
#include <src/util/fibhash.h>

#include <src/tnums/objset.h>

#include <src/interpreter/scanner.h>

#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <src/core/calls.h>
#include <src/core/saveload.h>
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/plist.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#include <src/core/saveload.h> /* saving and loading */
#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <assert.h>

Expand Down
2 changes: 1 addition & 1 deletion src/tnums/plist.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef GAP_PLIST_H
#define GAP_PLIST_H

#include <src/debug.h> // for GAP_ASSERT
#include <src/util/debug.h> // for GAP_ASSERT
#include <src/core/objects.h> // for TNUMs

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/precord.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#include <src/hpc/guards.h>
#include <src/hpc/aobjects.h> /* thread-local storage */

#include <src/gaputils.h>
#include <src/util/gaputils.h>


/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion src/tnums/range.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>



Expand Down
2 changes: 1 addition & 1 deletion src/tnums/stringobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#include <src/core/saveload.h> /* saving and loading */
#include <src/hpc/guards.h>

#include <src/gaputils.h>
#include <src/util/gaputils.h>

#include <assert.h>

Expand Down
Empty file added src/util/README.md
Empty file.
2 changes: 1 addition & 1 deletion src/debug.c → src/util/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <src/compiled.h>
#include <src/interpreter/hookintrprtr.h>
#include <src/core/calls.h>
#include <src/fibhash.h>
#include <src/util/fibhash.h>

#if defined(HAVE_BACKTRACE) && defined(PRINT_BACKTRACE)
#include <execinfo.h>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ada239c

Please sign in to comment.