diff --git a/CMakeLists.txt b/CMakeLists.txt index a46c0557..a3dfda58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,8 @@ cmake_minimum_required(VERSION 2.6) +cmake_policy(VERSION 2.6) +if(POLICY CMP0037) + cmake_policy(SET CMP0037 OLD) +endif() PROJECT(picrin) diff --git a/docs/libs.rst b/docs/libs.rst index bd87e98b..5227e265 100644 --- a/docs/libs.rst +++ b/docs/libs.rst @@ -233,9 +233,13 @@ Object-to-object table. Internally it is implemented on hash-table. Equivalence Note that dictionary is not a weak map; if you are going to make a highly memory-consuming program with dictionaries, you should know that dictionaries keep their bound objects and never let them free until you explicitly deletes bindings. +- **(make-dictionary)** + + Returns a newly allocated empty dictionary. + - **(dictionary . plist)** - Returns a newly allocated empty dictionary. The dictionary is initialized with the content of plist. + Returns a dictionary initialized with the content of plist. - **(dictionary? obj)**