Objects/boolobject

Search:
Group by:
Source   Edit  

Types

PyBoolObject = ref object of PyIntObject
  b*: bool
Source   Edit  

Lets

pyBoolObjectType {.inject.} = newPyType("bool", pyIntObjectType)
Source   Edit  
pyFalseObj = newPyBoolInner(false)
singleton Source   Edit  
pyTrueObj = newPyBoolInner(true)
singleton Source   Edit  

Procs

proc isPyTrue(self: PyBoolObject): bool {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc newPyBool(b: bool): PyBoolObject {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc newPyBoolSimple(): PyBoolObject {.cdecl, ...raises: [], tags: [RootEffect],
                                       forbids: [].}
Source   Edit  
proc ofExactPyBoolObject(obj`gensym0: PyObject): bool {.cdecl, inline,
    ...raises: [], tags: [], forbids: [].}
Source   Edit  
proc ofPyBoolObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [],
    tags: [], forbids: [].}
Source   Edit