Changes between Initial Version and Version 1 of Ticket #22626, comment 258


Ignore:
Timestamp:
11/20/18 09:49:50 (4 years ago)
Author:
gh-ChrisJefferson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22626, comment 258

    initial v1  
    1 Is there any simple way to get a pointer to something early in the stack, before anything else that might call GAP? Does Sage run any early C function which doesn't return, where it could stash the stack pointer? Looking at Python itself, a _PyMain object is put on the stack very early on, which is they passed by pointer to PyInterpreterState. Is it possible to get that pointer back?
     1Is there any simple way to get a pointer to something early in the stack, before anything else that might call GAP? Does Sage run any early C function which doesn't return, where it could stash the stack pointer? Looking at Python itself, a _PyMain object is put on the stack very early on, which is they passed by pointer. Is it possible to get that pointer back?