changeset 29:5d1597d9b24a Renamed_VMS_to_PR

Renamed VMS to PR, in new branch
author Sean Halle <seanhalle@yahoo.com>
date Mon, 03 Sep 2012 15:04:33 -0700
parents 0d2f5b1db610
children 0369391d1ff0
files DblHist.c FloatHist.c Histogram.c Histogram.h __brch__MC_shared
diffstat 5 files changed, 19 insertions(+), 19 deletions(-) [+]
line diff
     1.1 --- a/DblHist.c	Tue Mar 13 18:31:05 2012 -0700
     1.2 +++ b/DblHist.c	Mon Sep 03 15:04:33 2012 -0700
     1.3 @@ -28,8 +28,8 @@
     1.4     DblHist *hist;
     1.5     int i;
     1.6  
     1.7 -   hist = VMS_int__malloc( sizeof(DblHist) );
     1.8 -   hist->bins = VMS_int__malloc( numBins * sizeof(int) );
     1.9 +   hist = PR_int__malloc( sizeof(DblHist) );
    1.10 +   hist->bins = PR_int__malloc( numBins * sizeof(int) );
    1.11  
    1.12     hist->numBins      = numBins;
    1.13     hist->binWidth     = binWidth;
    1.14 @@ -102,6 +102,6 @@
    1.15  void
    1.16  freeDblHist( DblHist *hist )
    1.17   {
    1.18 -   VMS_int__free( hist->bins );
    1.19 -   VMS_int__free( hist );
    1.20 +   PR_int__free( hist->bins );
    1.21 +   PR_int__free( hist );
    1.22   }
     2.1 --- a/FloatHist.c	Tue Mar 13 18:31:05 2012 -0700
     2.2 +++ b/FloatHist.c	Mon Sep 03 15:04:33 2012 -0700
     2.3 @@ -26,8 +26,8 @@
     2.4     FloatHist *hist;
     2.5     int i;
     2.6  
     2.7 -   hist = VMS_int__malloc( sizeof(FloatHist) );
     2.8 -   hist->bins = VMS_int__malloc( numBins * sizeof(int) );
     2.9 +   hist = PR_int__malloc( sizeof(FloatHist) );
    2.10 +   hist->bins = PR_int__malloc( numBins * sizeof(int) );
    2.11  
    2.12     hist->numBins      = numBins;
    2.13     hist->binWidth     = binWidth;
    2.14 @@ -100,6 +100,6 @@
    2.15  void
    2.16  freeFloatHist( FloatHist *hist )
    2.17   {
    2.18 -   VMS_int__free( hist->bins );
    2.19 -   VMS_int__free( hist );
    2.20 +   PR_int__free( hist->bins );
    2.21 +   PR_int__free( hist );
    2.22   }
     3.1 --- a/Histogram.c	Tue Mar 13 18:31:05 2012 -0700
     3.2 +++ b/Histogram.c	Mon Sep 03 15:04:33 2012 -0700
     3.3 @@ -29,8 +29,8 @@
     3.4     int32 i;
     3.5  
     3.6  
     3.7 -   hist = VMS_int__malloc( sizeof(Histogram) );
     3.8 -   hist->bins = VMS_int__malloc( numBins * sizeof(int32) );
     3.9 +   hist = PR_int__malloc( sizeof(Histogram) );
    3.10 +   hist->bins = PR_int__malloc( numBins * sizeof(int32) );
    3.11  
    3.12     hist->numBins      = numBins;
    3.13     hist->binWidth     = (endOfRange - startOfRange) / numBins;
    3.14 @@ -66,10 +66,10 @@
    3.15   {
    3.16     Histogram *hist;
    3.17  
    3.18 -   hist = VMS_int__malloc( sizeof(Histogram) );
    3.19 -   hist->bins = VMS_int__malloc( numBins * sizeof(int32) );
    3.20 +   hist = PR_int__malloc( sizeof(Histogram) );
    3.21 +   hist->bins = PR_int__malloc( numBins * sizeof(int32) );
    3.22  
    3.23 -   char *nameCopy = (char *)VMS_int__strDup(name);
    3.24 +   char *nameCopy = (char *)PR_int__strDup(name);
    3.25     makeHist_helper( hist, numBins, startOfRange, binWidth, nameCopy);
    3.26  
    3.27     return hist;
    3.28 @@ -298,9 +298,9 @@
    3.29  void
    3.30  freeHist( Histogram *hist )
    3.31   {
    3.32 -   VMS_int__free( hist->bins );
    3.33 -   VMS_int__free( hist->name );
    3.34 -   VMS_int__free( hist );
    3.35 +   PR_int__free( hist->bins );
    3.36 +   PR_int__free( hist->name );
    3.37 +   PR_int__free( hist );
    3.38   }
    3.39  void
    3.40  freeHistExt( Histogram *hist )
     4.1 --- a/Histogram.h	Tue Mar 13 18:31:05 2012 -0700
     4.2 +++ b/Histogram.h	Mon Sep 03 15:04:33 2012 -0700
     4.3 @@ -6,8 +6,8 @@
     4.4   * 
     4.5   */
     4.6  
     4.7 -#include "VMS_impl/VMS_primitive_data_types.h"
     4.8 -#include "VMS_impl/Services_Offered_by_VMS/Memory_Handling/vmalloc.h"
     4.9 +#include "PR_impl/PR_primitive_data_types.h"
    4.10 +#include "PR_impl/Services_Offered_by_PR/Memory_Handling/vmalloc.h"
    4.11  
    4.12  #ifndef _HISTOGRAM_H
    4.13  #define	_HISTOGRAM_H
     5.1 --- a/__brch__MC_shared	Tue Mar 13 18:31:05 2012 -0700
     5.2 +++ b/__brch__MC_shared	Mon Sep 03 15:04:33 2012 -0700
     5.3 @@ -1,4 +1,4 @@
     5.4  This branch is for the project structure defined Jan 2012..  the #includes reflect this directory structure.
     5.5  
     5.6 -More importantly, the MC_shared  version of VMS requires a separat malloc implemeted by VMS code..  so this branch has modified the library to use the VMS-specific malloc.
     5.7 +More importantly, the MC_shared  version of PR requires a separat malloc implemeted by PR code..  so this branch has modified the library to use the PR-specific malloc.
     5.8