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

load gprc #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions PARIKernel/kernel.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class PARIKernel(Kernel):
cb_pari_err_recover = pari_recover
self.io = PARIKernelIO(self)
pari_use_readline(pari_rl)
gp_load_gprc()
init_svg(self)

def do_execute(self, code, silent, store_history=True, user_expressions=None,
Expand Down
2 changes: 2 additions & 0 deletions PARIKernel/paridecl.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ cdef extern from "pari/pari.h" nogil:
void pari_init(size_t parisize, ulong maxprime)
void pari_sighandler(int sig)

void gp_load_gprc()

void (*cb_pari_err_recover)(long)

void pari_free(void*)
Expand Down