Skip to content

Commit

Permalink
Expand "ruby/internal/value.h" into VALUE and ID
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Apr 14, 2023
1 parent 276645e commit ce15378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion external/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

#include <sys/types.h>

typedef uintptr_t VALUE;
typedef uintptr_t ID;
// TODO: Expand
#include "ruby/internal/value.h"
#include "ruby/st.h"

typedef struct rb_parser_config_struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* file COPYING are met. Consult the file for details.
* @brief Internal header for the parser.
*/
#include "ruby/ruby.h" /* for VALUE */
#include "external/parse.h"
// TODO: Extract to external
#include "node.h"
struct rb_iseq_struct; /* in vm_core.h */

Expand Down

0 comments on commit ce15378

Please sign in to comment.