In <a12fe666-1702-e367-cdf5-3779781af...@fastmail.co.uk> Les Newell 
<les.new...@fastmail.co.uk> writes:


>I wish there was a way to do that at runtime. As far as I know that 
>trick only works at compile time. You get the size of the EMC_STAT class 
>you compiled with, not the version that is currently running.

maybe something like this(while linuxcnc is running):

$ python
...
>>> import sys 
>>> import linuxcnc as l
>>> s=l.stat()
>>> sys.getsizeof(s)
13552

-- 
Dewey Garrett


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to