Skip to content

Commit

Permalink
Updated input and output files to align with its usage
Browse files Browse the repository at this point in the history
Signed-off-by: Sameer Mahant <[email protected]>
  • Loading branch information
sameermahant committed Jul 21, 2023
1 parent eb0fa72 commit 181093c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ class comments {
// @return nicely documented
fun returnCommentOnly(undocumented: String): String

// Some very useful property.
// Status of some property.
// @get Gets some very useful property.
// @set Sets some very useful property.
// This is description some useful property.
property SomeProperty: Usefulness

// This is some very useful exception.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,13 @@ public void disposeNative(long handle) {
public native String returnCommentOnly(@NonNull final String undocumented);
/**
* <p>Gets some very useful property.
* @return <p>Some very useful property.
* @return <p>Status of some property.
*/
public native boolean isSomeProperty();
/**
* <p>Sets some very useful property.
* @param value <p>Some very useful property.
* This is description some useful property.
* @param value <p>Status of some property.
*/
public native void setSomeProperty(final boolean value);
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,13 @@ class _GLUECODIUM_CPP_EXPORT Comments {
virtual ::std::string return_comment_only( const ::std::string& undocumented ) = 0;
/**
* Gets some very useful property.
* \return Some very useful property.
* \return Status of some property.
*/
virtual ::smoke::Comments::Usefulness is_some_property( ) const = 0;
/**
* Sets some very useful property.
* \param[in] value Some very useful property.
* This is description some useful property.
* \param[in] value Status of some property.
*/
virtual void set_some_property( const ::smoke::Comments::Usefulness value ) = 0;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ abstract class Comments {
/// Gets some very useful property.
bool get isSomeProperty;
/// Sets some very useful property.
/// This is description some useful property.
set isSomeProperty(bool value);
}
/// This is some very useful enum.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Comments {
public typealias SomeLambda = (String, Int32) -> Double
/// This is some very useful constant.
public static let veryUseful: Comments.Usefulness = true
/// Some very useful property.
/// Status of some property.
public var isSomeProperty: Comments.Usefulness {
get {
let c_result_handle = smoke_Comments_isSomeProperty_get(self.c_instance)
Expand Down

0 comments on commit 181093c

Please sign in to comment.