Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
apk-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
60
Issues
60
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
alpine
apk-tools
Commits
bd0242e1
Commit
bd0242e1
authored
Oct 20, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: adapt to new API
Use new apk_blob_pull_dep instead of the old apk_dep_from_blob
parent
7622ccf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/lua-apk.c
src/lua-apk.c
+4
-3
No files found.
src/lua-apk.c
View file @
bd0242e1
...
...
@@ -204,10 +204,11 @@ static int Papk_exists(lua_State *L)
struct
apk_dependency
dep
;
struct
apk_name
*
name
;
struct
apk_package
*
pkg
;
int
i
,
r
;
int
i
;
apk_blob_t
blob
=
APK_BLOB_STR
(
depstr
);
apk_blob_pull_dep
(
&
blob
,
db
,
&
dep
);
r
=
apk_dep_from_blob
(
&
dep
,
db
,
APK_BLOB_STR
(
depstr
));
if
(
r
!=
0
)
if
(
APK_BLOB_IS_NULL
(
blob
))
goto
ret_nil
;
name
=
dep
.
name
;
...
...
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