Update some documentation

This commit is contained in:
Léon van Velzen 2014-11-10 17:43:10 +01:00
parent 221f3bdebd
commit eec0f3504a
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ If you want to create a contribution library with C, the only thing you need to
.. sourcecode:: cmake
list(APPEND PICRIN_CONTRIB_INITS "void pic_init_add(pic_state *)\; pic_init_add(pic)\;")
list(APPEND PICRIN_CONTRIB_INITS add)
list(APPEND PICRIN_CONTRIB_SOURCES ${PROJECT_SOURCE_DIR}/contrib/add/add.c)
* contrib/add/add.c
@ -34,7 +34,7 @@ If you want to create a contribution library with C, the only thing you need to
void
pic_init_add(pic_state *pic)
{
pic_deflibrary ("(picrin add)") {
pic_deflibrary (pic, "(picrin add)") {
pic_defun(pic, "add", pic_add);
}
}