Changeset a566515 in tol for tolbase/lib/toltk/tolinspe.tcl
- Timestamp:
- Feb 15, 2012, 2:53:26 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 0d88c15
- Parents:
- 699b7d8
- File:
-
- 1 edited
-
tolbase/lib/toltk/tolinspe.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/tolinspe.tcl
r699b7d8 ra566515 2012 2012 set addr [ ::tol::info address $objReference ] 2013 2013 return [ Tol_ClassOf $addr ] 2014 } 2015 2016 proc Tol_StructOf { obj_addr } { 2017 set tolcode [ string map [ list %A $obj_addr ] { 2018 Text { 2019 Anything obj = GetObjectFromAddress( "%A" ); 2020 // WriteLn( "Tol_StructOf " << Grammar( obj ) ); 2021 Text If( Grammar( obj ) == "Set", StructName( obj ), "" ) 2022 } 2023 } ] 2024 return [ lindex [ toltcl::eval $tolcode ] 0 ] 2025 } 2026 2027 proc Tol_StructOfFromReference { objReference } { 2028 set addr [ ::tol::info address $objReference ] 2029 return [ Tol_StructOf $addr ] 2014 2030 } 2015 2031
Note: See TracChangeset
for help on using the changeset viewer.
