Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #21755: Export sage.libs.pari.gen.new_ref()
In #20241, the Cython methods `new_gen()` and `new_gen_noclear()` of `sage.libs.pari.pari_instance` were made into public Cython functions in the new module `sage.libs.pari.stack`. The related method `new_ref()` was made into a private Cython function in `sage.libs.pari.gen`. We export this function because it is useful for #15601 and possibly elsewhere. URL: https://trac.sagemath.org/21755 Reported by: pbruin Ticket author(s): Peter Bruin Reviewer(s): Jeroen Demeyer
- Loading branch information
Showing
2 changed files
with
15 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ cdef class gen_auto: | |
cdef class gen(gen_auto): | ||
pass | ||
|
||
cdef gen new_ref(GEN g, gen parent) | ||
cpdef gen objtogen(s) |
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