Skip to content

Commit

Permalink
Use gap_all.h instead of src/compiled.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 6, 2022
1 parent c9413d6 commit 38c5d30
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
5 changes: 1 addition & 4 deletions src/debugger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
* debugger: Debugging support for GAP
*/

extern "C" {
#include "src/compiled.h" /* GAP headers */
#include "src/hookintrprtr.h"
}
#include "gap_all.h" // GAP headers

#include "gap_cpp_headers/gap_cpp_mapping.hpp"

Expand Down
5 changes: 2 additions & 3 deletions src/gap_cpp_headers/gap_cpp_mapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
#include <utility>
#include <stdlib.h>

// We have to include this to get around problems with the 'extern C' wrapping of src/compiled.h,
// which includes gmp, which in C++ mode has some C++ templates.
#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

#include "gap_prototypes.hpp"
#include "gap_exception.hpp"
#include "gap_function.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/gap_cpp_headers/gap_prototypes.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef PROTOTYPES_HPP_ZLALA
#define PROTOTYPES_HPP_ZLALA

#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

namespace GAPdetail
{
Expand Down
3 changes: 2 additions & 1 deletion src/gap_cpp_headers/gap_wrapping.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#ifndef _GAP_WRAP_HPP_AQD
#define _GAP_WRAP_HPP_AQD

#include "include_gap_headers.hpp"
#include "gap_all.h" // GAP headers

#include "gap_prototypes.hpp"
#include "gap_exception.hpp"

Expand Down
6 changes: 0 additions & 6 deletions src/gap_cpp_headers/include_gap_headers.hpp

This file was deleted.

0 comments on commit 38c5d30

Please sign in to comment.