(self, ret_ty: Optional[SimType])
return session
Return an arg session.

        A session provides the control interface necessary to describe how integral and floating-point arguments are
        laid out into memory. The default behavior is that there are a finite list of int-only and fp-only argument
        slots, and an infinite number of generic slots, and when an argument of a given type is requested, the most
        slot available is used. If you need different behavior, subclass ArgSession.

        You need to provide the return type of the function in order to kick off an arg layout session.
Return an arg session.
Return an arg session .
def arg_session(self, ret_ty: Optional[SimType]):
        """
        Return an arg session.

        A session provides the control interface necessary to describe how integral and floating-point arguments are
        laid out into memory. The default behavior is that there are a finite list of int-only and fp-only argument
        slots, and an infinite number of generic slots, and when an argument of a given type is requested, the most
        slot available is used. If you need different behavior, subclass ArgSession.

        You need to provide the return type of the function in order to kick off an arg layout session.
        """
        session = self.ArgSession(self)
        if self.return_in_implicit_outparam(ret_ty):
            self.next_arg(session, SimTypePointer(SimTypeBottom()))
        return session
def arg_session ( self , ret_ty : Optional [ SimType ] ) : session = self . ArgSession ( self ) if self . return_in_implicit_outparam ( ret_ty ) : self . next_arg ( session , SimTypePointer ( SimTypeBottom ( ) ) ) return session