Skip to content

Commit

Permalink
javadoc and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 9, 2025
1 parent bf338b2 commit 33f2a10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/native/glue/ph/PhysicsMaterialList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_PhysicsMaterialList_
PhysicsMaterialList * const pList
= reinterpret_cast<PhysicsMaterialList *> (listVa);
RefConst<PhysicsMaterial>& element = pList->at(elementIndex);
RefConst<PhysicsMaterial>* pResult = new RefConst<PhysicsMaterial> (element);
RefConst<PhysicsMaterial>* pResult = new RefConst<PhysicsMaterial>(element);
TRACE_NEW("RefConst<PhysicsMaterial>", pResult)
return reinterpret_cast<jlong> (pResult);
}
Expand Down
4 changes: 3 additions & 1 deletion src/test/java/testjoltjni/junit/Test001.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2024 Stephen Gold
Copyright (c) 2024-2025 Stephen Gold
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -64,6 +64,8 @@ of this software and associated documentation files (the "Software"), to deal

/**
* Automated JUnit4 tests for jolt-jni.
* <p>
* Derived from HelloWorld.cpp by Jorrit Rouwe.
*
* @author Stephen Gold [email protected]
*/
Expand Down

0 comments on commit 33f2a10

Please sign in to comment.