Changeset 247 for cpp/frams/neuro


Ignore:
Timestamp:
11/07/14 17:51:01 (10 years ago)
Author:
Maciej Komosinski
Message:

Sources support both 32-bit and 64-bit, and more compilers

Location:
cpp/frams/neuro
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/geneticneuroparam.cpp

    r197 r247  
    1111{}
    1212
    13 long GeneticNeuroParam::getInt(int i)
     13paInt GeneticNeuroParam::getInt(int i)
    1414{return Neuro::getClass(i)->genactive;}
    1515
    16 int GeneticNeuroParam::setInt(int i,long v)
     16int GeneticNeuroParam::setInt(int i,paInt v)
    1717{Neuro::getClass(i)->genactive=v;return PSET_CHANGED;}
    1818
  • cpp/frams/neuro/geneticneuroparam.h

    r197 r247  
    1515GeneticNeuroParam(const char* groupname,const char* myname, const char* prefix,const char* typ=0);
    1616
    17 long getInt(int i);
    18 int setInt(int i,long v);
     17paInt getInt(int i);
     18int setInt(int i,paInt v);
    1919const char *type(int i) {return types?types:NeuroLibParam::type(i);}
    2020};
  • cpp/frams/neuro/neurocls-f0-GDK-factory.h

    r197 r247  
    1 // This file is a part of the Framsticks GDK.
    2 // Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
    3 // Refer to http://www.framsticks.com/ for further information.
    4 
    51
    62// do not edit - generated automatically from "f0.def"
  • cpp/frams/neuro/neurocls-f0-GDK-library.h

    r197 r247  
    1 // This file is a part of the Framsticks GDK.
    2 // Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
    3 // Refer to http://www.framsticks.com/ for further information.
    4 
    51
    62// do not edit - generated automatically from "f0.def"
  • cpp/frams/neuro/neuroimpl.h

    r197 r247  
    108108
    109109public:
    110   long intParameter;
     110  paInt intParameter;
    111111  double fpParameter;
    112112  SString txtParameter;
  • cpp/frams/neuro/neurolibparam.cpp

    r197 r247  
    2222}
    2323
    24 void NeuroLibParam::neuroclassAdded(void* data,long i)
     24void NeuroLibParam::neuroclassAdded(void* data,intptr_t i)
    2525{onadd.action(i);}
    26 void NeuroLibParam::neuroclassRemoved(void* data,long i)
     26void NeuroLibParam::neuroclassRemoved(void* data,intptr_t i)
    2727{ondelete.action(i);}
    2828
Note: See TracChangeset for help on using the changeset viewer.