-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5726ceb
commit 24ae757
Showing
2 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: "0.5.0" | ||
classes: | ||
- name: "ChainTarget" | ||
doc: > | ||
A target allowing entries to be sent to a sequence of targets. | ||
namespace: "stumpless" | ||
equivalent-struct: | ||
name: "stumpless_target" | ||
includes: "stumpless/target.h" | ||
constructors: | ||
- doc: "Creates a new chain target." | ||
wrapped-function: | ||
name: "stumpless_new_chain" | ||
includes: "stumpless/target/chain.h" | ||
params: | ||
- name: "name" | ||
doc: "The name of this target." | ||
type: "const char *" | ||
return: | ||
type: "equivalent-struct-pointer" | ||
use-template: "pointer-return-error-check" | ||
destructor: | ||
doc: > | ||
Closes this chain and releases all memory and other resources held by | ||
it. Does not close the targets in the chain. | ||
wrapped-function: | ||
name: "stumpless_close_chain_only" | ||
includes: "stumpless/target/chain.h" | ||
params: | ||
- name: "equivalent-struct-pointer" | ||
functions: | ||
- use-template: "common-target-functions" |