@@ -152,6 +152,7 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
152152 YGJustifySpaceAround : { value : 'YGJustifySpaceAround' } ,
153153 YGJustifySpaceBetween : { value : 'YGJustifySpaceBetween' } ,
154154 YGJustifySpaceEvenly : { value : 'YGJustifySpaceEvenly' } ,
155+ YGJustifyStretch : { value : 'YGJustifyStretch' } ,
155156
156157 YGOverflowHidden : { value : 'YGOverflowHidden' } ,
157158 YGOverflowVisible : { value : 'YGOverflowVisible' } ,
@@ -543,9 +544,7 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
543544 this . push (
544545 `YGNodeStyleSetGridTemplateRows(${ nodeName } , ${ nodeName } _gridTemplateRows);` ,
545546 ) ;
546- this . push (
547- `YGGridTrackListFree(${ nodeName } _gridTemplateRows);` ,
548- ) ;
547+ this . push ( `YGGridTrackListFree(${ nodeName } _gridTemplateRows);` ) ;
549548 } ,
550549 } ,
551550
@@ -560,7 +559,9 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
560559 return ;
561560 }
562561
563- this . push ( `auto ${ nodeName } _gridTemplateColumns = YGGridTrackListCreate();` ) ;
562+ this . push (
563+ `auto ${ nodeName } _gridTemplateColumns = YGGridTrackListCreate();` ,
564+ ) ;
564565
565566 for ( const track of tracks ) {
566567 if ( track . type === 'minmax' ) {
@@ -580,9 +581,7 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
580581 this . push (
581582 `YGNodeStyleSetGridTemplateColumns(${ nodeName } , ${ nodeName } _gridTemplateColumns);` ,
582583 ) ;
583- this . push (
584- `YGGridTrackListFree(${ nodeName } _gridTemplateColumns);` ,
585- ) ;
584+ this . push ( `YGGridTrackListFree(${ nodeName } _gridTemplateColumns);` ) ;
586585 } ,
587586 } ,
588587
@@ -641,9 +640,7 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
641640 this . push (
642641 `YGNodeStyleSetGridAutoColumns(${ nodeName } , ${ nodeName } _gridAutoColumns);` ,
643642 ) ;
644- this . push (
645- `YGGridTrackListFree(${ nodeName } _gridAutoColumns);` ,
646- ) ;
643+ this . push ( `YGGridTrackListFree(${ nodeName } _gridAutoColumns);` ) ;
647644 } ,
648645 } ,
649646
@@ -678,9 +675,7 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {
678675 this . push (
679676 `YGNodeStyleSetGridAutoRows(${ nodeName } , ${ nodeName } _gridAutoRows);` ,
680677 ) ;
681- this . push (
682- `YGGridTrackListFree(${ nodeName } _gridAutoRows);` ,
683- ) ;
678+ this . push ( `YGGridTrackListFree(${ nodeName } _gridAutoRows);` ) ;
684679 } ,
685680 } ,
686681
0 commit comments