Returns the virtual size of the section. Virtual size is initially zero and is never changed by AsmJit. It's normal if virtual size is smaller than size returned by `buffer_size()` as the buffer stores real data emitted by assemblers or appended by users. Use `real_size()` to get the real and final size of this section.
| 303 | //! |
| 304 | //! Use `real_size()` to get the real and final size of this section. |
| 305 | [[nodiscard]] |
| 306 | ASMJIT_INLINE_NODEBUG uint64_t virtual_size() const noexcept { return _virtual_size; } |
| 307 | |
| 308 | //! Sets the virtual size of the section. |
| 309 | ASMJIT_INLINE_NODEBUG void set_virtual_size(uint64_t virtual_size) noexcept { _virtual_size = virtual_size; } |
no outgoing calls
no test coverage detected