def nrt_meminfo_new_from_pyobject(self, data, pyobj):
    '\n        Allocate a new MemInfo with data payload borrowed from a python\n        object.\n        '
    mod = self.builder.module
    fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.voidptr_t, cgutils.voidptr_t])
    fn = mod.get_or_insert_function(fnty, name='NRT_meminfo_new_from_pyobject')
    fn.args[0].add_attribute(lc.ATTR_NO_CAPTURE)
    fn.args[1].add_attribute(lc.ATTR_NO_CAPTURE)
    fn.return_value.add_attribute('noalias')
    return self.builder.call(fn, [data, pyobj])
Allocate a new MemInfo with data payload borrowed from a python
object.
def nrt_meminfo_new_from_pyobject(self, data, pyobj):
    '\n        Allocate a new MemInfo with data payload borrowed from a python\n        object.\n        '
    mod = self.builder.module
    fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.voidptr_t, cgutils.voidptr_t])
    fn = mod.get_or_insert_function(fnty, name='NRT_meminfo_new_from_pyobject')
    fn.args[0].add_attribute(lc.ATTR_NO_CAPTURE)
    fn.args[1].add_attribute(lc.ATTR_NO_CAPTURE)
    fn.return_value.add_attribute('noalias')
    return self.builder.call(fn, [data, pyobj])