Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
3903d01c
Commit
3903d01c
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add function to destroy all the features in a feature set.
parent
e9c0f13f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapFeature/zmapFeature.c
+16
-2
16 additions, 2 deletions
src/zmapFeature/zmapFeature.c
with
16 additions
and
2 deletions
src/zmapFeature/zmapFeature.c
+
16
−
2
View file @
3903d01c
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See zmapView_P.h
* HISTORY:
* Last edited: Mar
9
12:
40
2007 (
rds
)
* Last edited: Mar
13
12:
25
2007 (
edgrif
)
* Created: Fri Jul 16 13:05:58 2004 (edgrif)
* CVS info: $Id: zmapFeature.c,v 1.6
1
2007-03-
09 12:44:53 rds
Exp $
* CVS info: $Id: zmapFeature.c,v 1.6
2
2007-03-
13 16:07:58 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -142,6 +142,7 @@ static void destroyBlock(gpointer data) ;
static
void
destroyAlign
(
gpointer
data
)
;
static
void
destroyContext
(
gpointer
data
)
;
static
void
withdrawFeatureAny
(
GQuark
key_id
,
gpointer
data
,
gpointer
user_data
)
;
static
void
destroyAllFeatureAny
(
GQuark
key_id
,
gpointer
data
,
gpointer
user_data
)
;
/* datalist debug stuff */
static
void
getDataListLength
(
GQuark
id
,
gpointer
data
,
gpointer
user_data
);
...
...
@@ -707,6 +708,18 @@ void zMapFeatureSetDestroy(ZMapFeatureSet feature_set, gboolean free_data)
return
;
}
void
zMapFeatureSetDestroyFeatures
(
ZMapFeatureSet
feature_set
)
{
zMapAssert
(
feature_set
)
;
g_datalist_clear
(
&
(
feature_set
->
features
))
;
return
;
}
GQuark
zMapFeatureAlignmentCreateID
(
char
*
align_name
,
gboolean
master_alignment
)
{
GQuark
id
=
0
;
...
...
@@ -1611,6 +1624,7 @@ static void withdrawFeatureAny(GQuark key_id, gpointer data, gpointer user_data)
return
;
}
/* Returns TRUE if the target blocks match coords are within align_error bases of each other, if
* there are less than two blocks then FALSE is returned.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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