Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-global-db
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-global-db
Commits
2e4ff84b
Commit
2e4ff84b
authored
5 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] dap_list callbacks renames
parent
4856b123
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_global_db_hist.c
+2
-2
2 additions, 2 deletions
dap_chain_global_db_hist.c
with
2 additions
and
2 deletions
dap_chain_global_db_hist.c
+
2
−
2
View file @
2e4ff84b
...
@@ -214,7 +214,7 @@ dap_list_t* dap_db_log_get_list(time_t first_timestamp)
...
@@ -214,7 +214,7 @@ dap_list_t* dap_db_log_get_list(time_t first_timestamp)
}
}
}
}
// sort list by key (time str)
// sort list by key (time str)
dap_list_sort
(
l_list
,
(
D
ap
C
ompare
Func
)
compare_items
);
dap_list_sort
(
l_list
,
(
d
ap
_callback_c
ompare
_t
)
compare_items
);
/*/ dbg - sort result
/*/ dbg - sort result
l_data_size_out = dap_list_length(l_list);
l_data_size_out = dap_list_length(l_list);
...
@@ -234,7 +234,7 @@ dap_list_t* dap_db_log_get_list(time_t first_timestamp)
...
@@ -234,7 +234,7 @@ dap_list_t* dap_db_log_get_list(time_t first_timestamp)
*/
*/
void
dap_db_log_del_list
(
dap_list_t
*
a_list
)
void
dap_db_log_del_list
(
dap_list_t
*
a_list
)
{
{
dap_list_free_full
(
a_list
,
(
D
ap
DestroyNotify
)
dap_chain_global_db_obj_delete
);
dap_list_free_full
(
a_list
,
(
d
ap
_callback_destroyed_t
)
dap_chain_global_db_obj_delete
);
}
}
/**
/**
...
...
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