Project

General

Profile

Actions

Misc #14395

closed

[PATCH] internal.h: add BITFIELD macro

Added by normalperson (Eric Wong) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Assignee:
-
[ruby-core:85074]

Description

Pretty trivial, will commit soon.

internal.h: add BITFIELD macro

I plan to use this macro to pack other enums in the VM while
preserving portability to non-C99 compilers.

  • internal.h: add BITFIELD macro
  • method.h: use BITFIELD for rb_method_visibility_t

Files

0001-internal.h-add-BITFIELD-macro.patch (1.64 KB) 0001-internal.h-add-BITFIELD-macro.patch normalperson (Eric Wong), 01/24/2018 08:52 PM
Actions #1

Updated by Anonymous over 6 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r62077.


internal.h: add BITFIELD macro to aid C99 users

I plan to use this macro to pack other enums in the VM.

Actions

Also available in: Atom PDF

Like0
Like0