Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel: move definition of BIPEB to system.h #1581

Merged
merged 1 commit into from
Aug 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions src/blister.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@
#ifndef GAP_BLISTER_H
#define GAP_BLISTER_H


/****************************************************************************
**
*V BIPEB . . . . . . . . . . . . . . . . . . . . . . . . . . bits per block
**
** 'BIPEB' is the number of bits per block, where a block fills a UInt,
** which must be the same size as a bag identifier.
**
*/
#define BIPEB (sizeof(UInt) * 8L)
#include <src/system.h>

/****************************************************************************
**
Expand Down
1 change: 1 addition & 0 deletions src/opers.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#ifndef GAP_OPERS_H
#define GAP_OPERS_H

#include <src/system.h>

/****************************************************************************
**
Expand Down
13 changes: 13 additions & 0 deletions src/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@ typedef UInt * * Bag;
typedef Bag Obj;


/****************************************************************************
**
*V BIPEB . . . . . . . . . . . . . . . . . . . . . . . . . . bits per block
**
** 'BIPEB' is the number of bits per block, where a block fills a UInt,
** which must be the same size as a bag identifier.
**
*/
enum {
BIPEB = sizeof(UInt) * 8L
};


/****************************************************************************
**
*F * * * * * * * * * * * command line settable options * * * * * * * * * * *
Expand Down
2 changes: 2 additions & 0 deletions src/vecgf2.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#ifndef GAP_VECGF2_H
#define GAP_VECGF2_H

#include <src/system.h>

/****************************************************************************
**
*F IS_GF2VEC_REP( <obj> ) . . . . . . check that <obj> is in GF2 vector rep
Expand Down