Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Pyston::NodeCast< int64_t > Struct Reference

#include <NodeConverter.h>

Static Public Member Functions

static bool isUpcast (PyObject *obj_ptr)
 
static bool cast (PyObject *obj_ptr, void *storage)
 

Detailed Description

Trait specialization for integers booleans can be upcasted to integers

Definition at line 122 of file NodeConverter.h.

Member Function Documentation

◆ cast()

static bool Pyston::NodeCast< int64_t >::cast ( PyObject *  obj_ptr,
void *  storage 
)
inlinestatic

Try to create cast nodes from different known Node types

Returns
true if it could be converted

Definition at line 142 of file NodeConverter.h.

◆ isUpcast()

static bool Pyston::NodeCast< int64_t >::isUpcast ( PyObject *  obj_ptr)
inlinestatic

Returns
true if the object can be converted to T via an upcast

Definition at line 127 of file NodeConverter.h.


The documentation for this struct was generated from the following file: