~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/Particle.c

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: Particle.c,v 1.12 2005/11/29 05:08:29 ascotan Exp $
 
2
 * $Id: Particle.c,v 1.13 2007/03/16 11:38:02 campbellbarton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
362
362
PyObject *Particle_Init( void )
363
363
{
364
364
        PyObject *submodule;
365
 
        Particle_Type.ob_type = &PyType_Type;
 
365
        
 
366
        if( PyType_Ready( &Particle_Type) < 0)
 
367
                return NULL;
 
368
        
366
369
        submodule =
367
370
                Py_InitModule3( "Blender.Particle", M_Particle_methods, M_Particle_doc );
368
371
        return ( submodule );