Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Keystone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Third Party Mirrors
Keystone
Commits
27c91be7
Commit
27c91be7
authored
8 years ago
by
Nguyen Anh Quynh
Browse files
Options
Downloads
Patches
Plain Diff
ks_open: change the data type of mode to int. this fixes issue #22
parent
8feb6de8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/keystone/keystone.h
+1
-1
1 addition, 1 deletion
include/keystone/keystone.h
llvm/keystone/ks.cpp
+1
-1
1 addition, 1 deletion
llvm/keystone/ks.cpp
llvm/keystone/ks_priv.h
+1
-1
1 addition, 1 deletion
llvm/keystone/ks_priv.h
with
3 additions
and
3 deletions
include/keystone/keystone.h
+
1
−
1
View file @
27c91be7
...
...
@@ -196,7 +196,7 @@ bool ks_arch_supported(ks_arch arch);
for detailed error).
*/
KEYSTONE_EXPORT
ks_err
ks_open
(
ks_arch
arch
,
ks_mode
mode
,
ks_engine
**
ks
);
ks_err
ks_open
(
ks_arch
arch
,
int
mode
,
ks_engine
**
ks
);
/*
...
...
This diff is collapsed.
Click to expand it.
llvm/keystone/ks.cpp
+
1
−
1
View file @
27c91be7
...
...
@@ -167,7 +167,7 @@ static ks_err InitKs(ks_engine *ks, std::string TripleName)
KEYSTONE_EXPORT
ks_err
ks_open
(
ks_arch
arch
,
ks_mode
mode
,
ks_engine
**
result
)
ks_err
ks_open
(
ks_arch
arch
,
int
mode
,
ks_engine
**
result
)
{
struct
ks_struct
*
ks
;
std
::
string
TripleName
=
""
;
...
...
This diff is collapsed.
Click to expand it.
llvm/keystone/ks_priv.h
+
1
−
1
View file @
27c91be7
...
...
@@ -38,7 +38,7 @@ typedef void (*ks_args_ks_t)(struct ks_struct*);
struct
ks_struct
{
ks_arch
arch
;
ks_mode
mode
;
int
mode
;
unsigned
int
errnum
;
ks_opt_value
syntax
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment