dmuratshin 9 years ago
parent
commit
957e9163a9
2 changed files with 10 additions and 11 deletions
  1. 5 4
      oxygine/src/core/ref_counter.h
  2. 5 7
      tools/readme.txt

+ 5 - 4
oxygine/src/core/ref_counter.h

@@ -45,14 +45,15 @@ namespace oxygine
     {
         p->releaseRef();
     }
+}
 
-#define DECLARE_SMART(class_name, spname) class class_name;\
+#define DECLARE_SMART(class_name, spname) \
+    class class_name;\
     typedef oxygine::intrusive_ptr<class_name> spname;
 
-#define DECLARENS_SMART(name_space, class_name, spname) namespace name_space \
+#define DECLARENS_SMART(name_space, class_name, spname) \
+    namespace name_space \
     {\
         class class_name;\
         typedef oxygine::intrusive_ptr<class_name> spname;\
     }
-
-}

+ 5 - 7
tools/readme.txt

@@ -1,13 +1,11 @@
 how to use "oxyresbuild.py":
-1. download and install Python3 (http://python.org/download/)
+1. download and install Python2 or Python3 (http://python.org/download/)
 2. add to your system environment variable 'PATH' path to Python folder
 3. install Pillow library for Python. run:
-   easy_install pillow
+       easy_install pillow
    or 
-   pip install pillow
+       pip install pillow
+   *or (Python2) install Python Imaging Library from http://www.pythonware.com/products/pil/   
 
-4. run install.py. It would add current path of Oxygine to System global variable
 
-
-***if you are already using Python2.7***
-3. install Python Imaging Library from http://www.pythonware.com/products/pil/  
+4. run install.py. It would add current path of Oxygine to System global variable