Re: no scm_foreign_object_p ?

2021-01-23 Thread Matt Wette
that works here? I was hoping to see scm_foreign_object_p(type, object). The only thing I see in the manual is `scm_assert_foreign_object_type`. That's what I noticed too; if you want something finer you need to write scheme code. Since foreign pointers are GOOPS objects and foreign pointer types

Re: no scm_foreign_object_p ?

2021-01-23 Thread divoplade
hing that works here? > > I was hoping to see scm_foreign_object_p(type, object). > > The only thing I see in the manual is > `scm_assert_foreign_object_type`. That's what I noticed too; if you want something finer you need to write scheme code. Since foreign pointers are GOOPS obj

Re: no scm_foreign_object_p ?

2021-01-23 Thread olivier . dion--- via General Guile related discussions
On Sat, 23 Jan 2021, Matt Wette wrote: > I started using foreign objects but want something akin to number?, > string? etc. > Is there something that works here? > I was hoping to see scm_foreign_object_p(type, object). The only thing I see in the manual is `scm_assert_foreign

no scm_foreign_object_p ?

2021-01-23 Thread Matt Wette
I started using foreign objects but want something akin to number?, string? etc. Is there something that works here? I was hoping to see scm_foreign_object_p(type, object).