~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/gen_utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * $Id: gen_utils.h 16395 2008-09-06 14:13:31Z sirdude $
 
2
 * $Id: gen_utils.h 19838 2009-04-21 09:44:29Z campbellbarton $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
37
37
 
38
38
#include "constant.h"
39
39
 
40
 
#define Py_PI  3.14159265358979323846
41
 
#define Py_WRAP 1024
42
 
#define Py_NEW  2048
 
40
// #define Py_PI  3.14159265358979323846
 
41
// #define Py_WRAP 1024
 
42
// #define Py_NEW  2048
43
43
 
44
44
/* 
45
45
   Py_RETURN_NONE
77
77
/* name of list of Armature weak refs built into __main__ */
78
78
#define ARM_WEAKREF_LIST_NAME "__arm_weakrefs"
79
79
 
80
 
int EXPP_FloatsAreEqual(float A, float B, int floatSteps);
81
 
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps);
82
 
 
83
80
PyObject *EXPP_GetModuleConstant(char *module, char *constant);
84
81
 
85
82
int StringEqual( const char *string1, const char *string2 );