Macaulay2 / Macaulay2/M2

error returns of engine pointers

Open
#486 2 comments 0 reactions 1 assignee View on GitHub

@DanGrayson is already working on this.

Since Jun 15, 2016.

Engine
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Many functions in engine.h are declared to return a pointer when returning a bool would
be better, e.g.:

```
Computation /* or null */*
rawStartComputation(Computation *C)
```

Let's make them all return bool. The point is that it makes the code in interface.dd counterintuitive, for the interface routine ends up with two pointers to the same thing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.