diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-09-29 17:49:49 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-09-29 19:03:03 -0400 |
commit | cec47afae217cea36779d7dea4437b35dee63be2 (patch) | |
tree | c02e964d1381da9543733981040615984743edad /libdimension/dimension | |
parent | 140afde9d7096bea0f8d5f6a04e5c41dd37ab40b (diff) | |
download | dimension-cec47afae217cea36779d7dea4437b35dee63be2.tar.xz |
Make parts of the progress API internal.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/progress.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/libdimension/dimension/progress.h b/libdimension/dimension/progress.h index 53dfc37..043f014 100644 --- a/libdimension/dimension/progress.h +++ b/libdimension/dimension/progress.h @@ -30,12 +30,7 @@ typedef struct dmnsn_progress dmnsn_progress; -/* Allocate a new progress object */ -dmnsn_progress *dmnsn_new_progress(void); -/* For failed returns from *_async() functions */ -void dmnsn_delete_progress(dmnsn_progress *progress); - -/* Join the worker thread and returns it's integer return value in addition to +/* Join the worker thread and return it's integer return value in addition to deleting `progress' */ int dmnsn_finish_progress(dmnsn_progress *progress); @@ -44,11 +39,4 @@ double dmnsn_get_progress(const dmnsn_progress *progress); /* Wait for the progress to be >= prog, in a better way than spinlocking */ void dmnsn_wait_progress(const dmnsn_progress *progress, double prog); -/* Create a new level of loop nesting */ -void dmnsn_new_progress_element(dmnsn_progress *progress, unsigned int total); -/* Increment the progress counter; should only be called from innermost loop */ -void dmnsn_increment_progress(dmnsn_progress *progress); -/* Instantly complete the progress */ -void dmnsn_done_progress(dmnsn_progress *progress); - #endif /* DIMENSION_PROGRESS_H */ |