Sha256: 8c27cf58009994af511e7395e9dc36569cb9b0470a3e3b6d0ea365399d8456e7
Contents?: true
Size: 744 Bytes
Versions: 5
Compression:
Stored size: 744 Bytes
Contents
#ifndef Rice__Return__hpp_ #define Rice__Return__hpp_ #include <any> namespace Rice { //! Helper for defining Return argument of a method class Return { public: //! Specifies Ruby should take ownership of the returned value Return& takeOwnership(); //! Does Ruby own the returned value? bool isOwner(); //! Specifies the returned value is a Ruby value Return& isValue(); //! Is the returned value a Ruby value? bool getIsValue(); //! Tell the returned object to keep alive the receving object Return& keepAlive(); public: bool isKeepAlive = false; private: bool isOwner_ = false; bool isValue_ = false; }; } // Rice #include "Return.ipp" #endif // Rice__Return__hpp_
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rice-4.0.4 | rice/Return.hpp |
rice-4.0.3 | rice/Return.hpp |
rice-4.0.2 | rice/Return.hpp |
rice-4.0.1 | rice/Return.hpp |
rice-4.0.0 | rice/Return.hpp |