andy128k / cl-gobject-introspection

BSD 2-Clause "Simplified" License
49 stars 15 forks source link

Please advice if there is a better way to assert object class #97

Open bigos opened 5 months ago

bigos commented 5 months ago

I have to use a private function info-of. Is there a better way to do it?


(assert (equal "ApplicationWindow"
                 (gir:info-get-name (gir::info-of (gir:gir-class-of window)))))