parameters: (typingctx, lstobj)
return_statement: return sig, codegen
docstring: Returns the MemInfoPointer of a list.
docstring_summary: Returns the MemInfoPointer of a list.
docstring_tokens: Returns the MemInfoPointer of a list .
function: def _as_meminfo(typingctx, lstobj):
      """Returns the MemInfoPointer of a list.
      """
      if not isinstance(lstobj, types.ListType):
          raise TypingError('expected *lstobj* to be a ListType')
  
      def codegen(context, builder, sig, args):
          [tl] = sig.args
          [l] = args
          # Incref
          context.nrt.incref(builder, tl, l)
          ctor = cgutils.create_struct_proxy(tl)
          lstruct = ctor(context, builder, value=l)
          # Returns the plain MemInfo
          return lstruct.meminfo
  
      sig = _meminfo_listptr(lstobj)
      return sig, codegen
function_tokens: def _as_meminfo ( typingctx , lstobj ) : if not isinstance ( lstobj , types . ListType ) : raise TypingError ( 'expected *lstobj* to be a ListType' ) def codegen ( context , builder , sig , args ) : [ tl ] = sig . args [ l ] = args # Incref context . nrt . incref ( builder , tl , l ) ctor = cgutils . create_struct_proxy ( tl ) lstruct = ctor ( context , builder , value = l ) # Returns the plain MemInfo return lstruct . meminfo sig = _meminfo_listptr ( lstobj ) return sig , codegen