Manolo on Fri, 27 Jul 2012 16:57:35 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Global persistent variables (compiled code)
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Global persistent variables (compiled code)
- From: Manolo <mpancorbo@gmail.com>
- Date: Fri, 27 Jul 2012 16:57:29 +0200
- Delivery-date: Fri, 27 Jul 2012 16:57:35 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9EWnF0ahAbrPxhTS76mPIp91Oelg0NnmQtqCz3PMEZ4=; b=SLo7UmOSEP+toD6NAtgLzhC8w7jYQzf0t3GIzcfEuaU8rDmZamy81P5Dd+GA7gsAyn 4ltVESLHORvNpKt8ZVtASkupDqLuYlsxS508o9Th/b0frmZ5CgUdI4LZiq7/ECpgVSp0 E2trBE041QHhZADWi/VBtduUDYS0QFNPW+wilOjR8p2gZx1l/F+IlGtdluZ2c5RVmLgE mCBYjjgRXaxL/wJbnevFLLuuIdN2mYW+6ZtQmRSZVwSOYvuFwM/+U67lK047iK7t9wYk 95Ue9iJnjqeAHiGcv8FtqGzwGLO0qj+XrAStmpXf7rCKAO5v8lA/d5DvfQmJZJl4w5oE Ds7g==
- In-reply-to: <20120726152530.GE2230@yellowpig>
- References: <CAKOwFYUdUsM5z0H=gcQJrnDyd_XWkhg9e6R6LsJaDOA8VDS0Wg@mail.gmail.com> <20120726152530.GE2230@yellowpig>
2012/7/26 Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>:
>
> If you need global variables to be outside of the PARI stack, you can use gclone in C
> (the clone function under GP2C).
Thanks BIll!
I've tested it and solves some problems, but not all of them. I can't
give you a precise scenario of fail, but the cloned global variables
suffer unexpected changes; I'll test my code more intensively.
> See the test file gp2c/test/gp/initfunc.gp
I've got it from source tar-file. In my Ubuntu-distribution this (and
other similar files) are not included. It would be really easy put
them on /usr/share/pari/examples or /usr/share/gp2c/examples ... Is
this a matter of package maintainer?
Cheers!
--
Manuel Pancorbo Castro
http://bitakoro.tk/