IRC channel logs

2017-08-02.log

back to list of logs

<dsmith>sneek: botsnack
<sneek>:)
<dsmith>Yey
<manumanumanu>What do you guys use to write documentation? I have more or less finished my almost-racket-compatible-syntax-case-only for loops, but I need to document it
<manumanumanu>Preferrably with syntax highligting of code examples and such
<manumanumanu>org mode?
<edne>Hi! I'm quite new to Guile, now I'm using it embedded in a C program
<edne>I'm trying to define a new foreign object type following this guide:
<edne> https://www.gnu.org/software/guile/manual/html_node/Defining-Foreign-Object-Types.html#Defining-Foreign-Object-Types
<edne>but I get an "undefined reference to `scm_make_foreign_object_type'"
<edne>I'm using Guile 2.0, I tryed to grep "scm_make_foreign_object_type" in the "/usr/include/guile/2.0" folder but it seems to be not defined
<edne>Do I need to install some library or this function is just deprecated? and in that case someone know how to do it in this version of Guile?
<edne>ok, maybe I solved simply using scm_from_pointer
<webshinra>guile/2.2/libguile/foreign-object.h
<webshinra>30:SCM_API SCM scm_make_foreign_object_type (SCM name, SCM slot_names,
<webshinra>(please notice that ripgrep rox)
<dsmith-work>manumanumanu: For person stuff I use org-mode, but texinfo should be used for gnu stuff.
<edne>webshinra, I have guile/2.0/libguile/foreign.h :(
<edne>but now I am compiling the 2.2 for the atomics support
<webshinra>:)
***Amynka is now known as PiperNeverDies
***PiperNeverDies is now known as Amynka