Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
e65d4264
Commit
e65d4264
authored
Dec 17, 2018
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `#include <mruby/khash.h>` from `mruby/hash.h`.
parent
e6903145
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
include/mruby/hash.h
include/mruby/hash.h
+1
-4
No files found.
include/mruby/hash.h
View file @
e65d4264
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
#define MRUBY_HASH_H
#define MRUBY_HASH_H
#include "common.h"
#include "common.h"
#include <mruby/khash.h>
/**
/**
* Hash class
* Hash class
...
@@ -198,15 +197,13 @@ MRB_API mrb_value mrb_hash_dup(mrb_state *mrb, mrb_value hash);
...
@@ -198,15 +197,13 @@ MRB_API mrb_value mrb_hash_dup(mrb_state *mrb, mrb_value hash);
*/
*/
MRB_API
void
mrb_hash_merge
(
mrb_state
*
mrb
,
mrb_value
hash1
,
mrb_value
hash2
);
MRB_API
void
mrb_hash_merge
(
mrb_state
*
mrb
,
mrb_value
hash1
,
mrb_value
hash2
);
/* declaration of struct
kh_ht
*/
/* declaration of struct
mrb_hash_value
*/
/* be careful when you touch the internal */
/* be careful when you touch the internal */
typedef
struct
{
typedef
struct
{
mrb_value
v
;
mrb_value
v
;
mrb_int
n
;
mrb_int
n
;
}
mrb_hash_value
;
}
mrb_hash_value
;
KHASH_DECLARE
(
ht
,
mrb_value
,
mrb_hash_value
,
TRUE
)
/* RHASH_TBL allocates st_table if not available. */
/* RHASH_TBL allocates st_table if not available. */
#define RHASH(obj) ((struct RHash*)(mrb_ptr(obj)))
#define RHASH(obj) ((struct RHash*)(mrb_ptr(obj)))
#define RHASH_TBL(h) (RHASH(h)->ht)
#define RHASH_TBL(h) (RHASH(h)->ht)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment