-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add marking functions for Julia objects.
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/**************************************************************************** | ||
** | ||
** This file is part of GAP, a system for computational discrete algebra. | ||
** | ||
** Copyright of GAP belongs to its developers, whose names are too numerous | ||
** to list here. Please refer to the COPYRIGHT file for details. | ||
** | ||
** SPDX-License-Identifier: GPL-2.0-or-later | ||
** | ||
** This file declares functions of the Julia GC interface. | ||
*/ | ||
|
||
#ifndef GAP_JULIA_GC_H | ||
#define GAP_JULIA_GC_H | ||
|
||
/**************************************************************************** | ||
** | ||
*F MarkJuliaObj(<obj>) . . . . . . . . . . . . . . . . mark Julia object | ||
** | ||
** 'MarkJuliaObjSafe' marks a Julia object; the argument can be NULL. | ||
*/ | ||
|
||
void MarkJuliaObj(void * obj); | ||
|
||
/**************************************************************************** | ||
** | ||
*F MarkJuliaObjSafe(<obj>) . . . . . . . . . . . . . . mark Julia object | ||
** | ||
** 'MarkJuliaObjSafe' marks a Julia object, verifying that it is a valid | ||
** object. | ||
*/ | ||
|
||
void MarkJuliaObjSafe(void * obj); | ||
|
||
#endif |