File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed
recast-navigation-core/src Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ export class RecastBuildContext {
197197 accumulatedTimes : { [ label : string ] : number } = { } ;
198198
199199 constructor ( timersAndLogsEnabled = true ) {
200- const impl = new Raw . Module . RecastBuildContextImpl ( ) ;
200+ const impl = new Raw . Module . RecastBuildContextJsImpl ( ) ;
201201
202202 impl . log = ( category , msg , len ) => {
203203 if ( ! this . raw . logEnabled ( ) ) return ;
Original file line number Diff line number Diff line change @@ -818,19 +818,12 @@ interface rcContext {
818818 float getAccumulatedTime([Const] rcTimerLabel label);
819819};
820820
821- interface RecastBuildContextJsImpl {
822- void resetLog();
823- void log([Const] rcLogCategory category, [Const] DOMString msg, [Const] long len);
824-
825- void resetTimers();
826- void startTimer([Const] rcTimerLabel label);
827- void stopTimer([Const] rcTimerLabel label);
828- long getAccumulatedTime([Const] rcTimerLabel label);
821+ interface RecastBuildContextImpl {
829822};
830823
831- [JSImplementation="RecastBuildContextJsImpl "]
832- interface RecastBuildContextImpl {
833- void RecastBuildContextImpl ();
824+ [JSImplementation="RecastBuildContextImpl "]
825+ interface RecastBuildContextJsImpl {
826+ void RecastBuildContextJsImpl ();
834827
835828 void resetLog();
836829 void log([Const] rcLogCategory category, [Const] DOMString msg, [Const] long len);
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ struct RecastCalcGridSizeResult
1515 int height;
1616};
1717
18- class RecastBuildContextJsImpl
18+ class RecastBuildContextImpl
1919{
2020public:
2121 virtual void resetLog () {}
@@ -34,9 +34,9 @@ class RecastBuildContextJsImpl
3434class RecastBuildContext : public rcContext
3535{
3636public:
37- RecastBuildContextJsImpl *impl;
37+ RecastBuildContextImpl *impl;
3838
39- RecastBuildContext (RecastBuildContextJsImpl *recastBuildContextImpl)
39+ RecastBuildContext (RecastBuildContextImpl *recastBuildContextImpl)
4040 {
4141 impl = recastBuildContextImpl;
4242 }
You can’t perform that action at this time.
0 commit comments