TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: PANCHO
date: 2019-12-16 13:01:00
subject: Re: RPi.GPIO-0.7.0 - a fe

On 16/12/2019 11:12, R.Wieser wrote:

> According to me line "PWMType.tp_new = PyType_GenericNew;" creates a single
> instance, and than (one of the methods of) that instance is called thru
> accessing the tables "tp_new" field
>
OK I haven't programmed C for a quarter of a century, but isn't that
just assigning a function pointer to a field. As I recall C doesn't have
function "objects" so it doesn't instantiate an object for a function
pointer, a function pointer is just a pointer to the function.

Please ignore me if I have totally missed the point.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.