Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
761a6878
Commit
761a6878
authored
7 years ago
by
Vivek Das Mohapatra
Browse files
Options
Downloads
Patches
Plain Diff
capsule/capsule.h: Minor doc-comment style/content changes
parent
a9154be5
No related branches found
No related tags found
1 merge request
!311
Build capsule-capture-libs from a bundled copy of libcapsule
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
capsule/capsule.h
+5
-5
5 additions, 5 deletions
capsule/capsule.h
with
5 additions
and
5 deletions
capsule/capsule.h
+
5
−
5
View file @
761a6878
...
@@ -111,7 +111,7 @@ struct _capsule_metadata
...
@@ -111,7 +111,7 @@ struct _capsule_metadata
*
*
* Returns: a #capsule handle.
* Returns: a #capsule handle.
*
*
* Does any initialisation necessary to use libcapsule
'
s functions.
* Does any initialisation necessary to use libcapsule
’
s functions.
*
*
* Initialises internal accounting structures within the capsule
* Initialises internal accounting structures within the capsule
* and triggers the metadata setup if this caspsule has been
* and triggers the metadata setup if this caspsule has been
...
@@ -173,8 +173,8 @@ void *capsule_shim_dlopen (const capsule cap, const char *file, int flag);
...
@@ -173,8 +173,8 @@ void *capsule_shim_dlopen (const capsule cap, const char *file, int flag);
* directly in its own code (libGL is an example of this).
* directly in its own code (libGL is an example of this).
*
*
* Since the target library may have a different symbol set than the
* Since the target library may have a different symbol set than the
* one the libcapsule proxy shim was generated from we can
'
t rely on
* one the libcapsule proxy shim was generated from we can
’
t rely on
* dlsym() finding those symbols in the shim
'
s symbol table.
* dlsym() finding those symbols in the shim
’
s symbol table.
*
*
* Instead we must intercept dlsym() calls made outside the capsule
* Instead we must intercept dlsym() calls made outside the capsule
* and attempt to look for the required symbol in the namespace defined
* and attempt to look for the required symbol in the namespace defined
...
@@ -220,10 +220,10 @@ void *capsule_external_dlopen(const char *file, int flag);
...
@@ -220,10 +220,10 @@ void *capsule_external_dlopen(const char *file, int flag);
* capsule_close:
* capsule_close:
* @cap: a #capsule handle as returned by capsule_init()
* @cap: a #capsule handle as returned by capsule_init()
*
*
* This function should be called from a capsule proxy library
'
s destructor:
* This function should be called from a capsule proxy library
’
s destructor:
* Its job is to clean up capsule-specific allocated memory and metadata when
* Its job is to clean up capsule-specific allocated memory and metadata when
* a capsule proxy is discarded via dlclose(), and ensure that libproxy itself
* a capsule proxy is discarded via dlclose(), and ensure that libproxy itself
* won
'
t try to access any related invalidated memory afterwards.
* won
’
t try to access any related invalidated memory afterwards.
*/
*/
_CAPSULE_PUBLIC
_CAPSULE_PUBLIC
void
capsule_close
(
capsule
cap
);
void
capsule_close
(
capsule
cap
);
...
...
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