# HG changeset patch # User Sean Halle # Date 1346709873 25200 # Node ID 5d1597d9b24a403be402c14507a8b6566b5f216b # Parent 0d2f5b1db610c18efafcbddb06bebe4ca27013ee Renamed VMS to PR, in new branch diff -r 0d2f5b1db610 -r 5d1597d9b24a DblHist.c --- a/DblHist.c Tue Mar 13 18:31:05 2012 -0700 +++ b/DblHist.c Mon Sep 03 15:04:33 2012 -0700 @@ -28,8 +28,8 @@ DblHist *hist; int i; - hist = VMS_int__malloc( sizeof(DblHist) ); - hist->bins = VMS_int__malloc( numBins * sizeof(int) ); + hist = PR_int__malloc( sizeof(DblHist) ); + hist->bins = PR_int__malloc( numBins * sizeof(int) ); hist->numBins = numBins; hist->binWidth = binWidth; @@ -102,6 +102,6 @@ void freeDblHist( DblHist *hist ) { - VMS_int__free( hist->bins ); - VMS_int__free( hist ); + PR_int__free( hist->bins ); + PR_int__free( hist ); } diff -r 0d2f5b1db610 -r 5d1597d9b24a FloatHist.c --- a/FloatHist.c Tue Mar 13 18:31:05 2012 -0700 +++ b/FloatHist.c Mon Sep 03 15:04:33 2012 -0700 @@ -26,8 +26,8 @@ FloatHist *hist; int i; - hist = VMS_int__malloc( sizeof(FloatHist) ); - hist->bins = VMS_int__malloc( numBins * sizeof(int) ); + hist = PR_int__malloc( sizeof(FloatHist) ); + hist->bins = PR_int__malloc( numBins * sizeof(int) ); hist->numBins = numBins; hist->binWidth = binWidth; @@ -100,6 +100,6 @@ void freeFloatHist( FloatHist *hist ) { - VMS_int__free( hist->bins ); - VMS_int__free( hist ); + PR_int__free( hist->bins ); + PR_int__free( hist ); } diff -r 0d2f5b1db610 -r 5d1597d9b24a Histogram.c --- a/Histogram.c Tue Mar 13 18:31:05 2012 -0700 +++ b/Histogram.c Mon Sep 03 15:04:33 2012 -0700 @@ -29,8 +29,8 @@ int32 i; - hist = VMS_int__malloc( sizeof(Histogram) ); - hist->bins = VMS_int__malloc( numBins * sizeof(int32) ); + hist = PR_int__malloc( sizeof(Histogram) ); + hist->bins = PR_int__malloc( numBins * sizeof(int32) ); hist->numBins = numBins; hist->binWidth = (endOfRange - startOfRange) / numBins; @@ -66,10 +66,10 @@ { Histogram *hist; - hist = VMS_int__malloc( sizeof(Histogram) ); - hist->bins = VMS_int__malloc( numBins * sizeof(int32) ); + hist = PR_int__malloc( sizeof(Histogram) ); + hist->bins = PR_int__malloc( numBins * sizeof(int32) ); - char *nameCopy = (char *)VMS_int__strDup(name); + char *nameCopy = (char *)PR_int__strDup(name); makeHist_helper( hist, numBins, startOfRange, binWidth, nameCopy); return hist; @@ -298,9 +298,9 @@ void freeHist( Histogram *hist ) { - VMS_int__free( hist->bins ); - VMS_int__free( hist->name ); - VMS_int__free( hist ); + PR_int__free( hist->bins ); + PR_int__free( hist->name ); + PR_int__free( hist ); } void freeHistExt( Histogram *hist ) diff -r 0d2f5b1db610 -r 5d1597d9b24a Histogram.h --- a/Histogram.h Tue Mar 13 18:31:05 2012 -0700 +++ b/Histogram.h Mon Sep 03 15:04:33 2012 -0700 @@ -6,8 +6,8 @@ * */ -#include "VMS_impl/VMS_primitive_data_types.h" -#include "VMS_impl/Services_Offered_by_VMS/Memory_Handling/vmalloc.h" +#include "PR_impl/PR_primitive_data_types.h" +#include "PR_impl/Services_Offered_by_PR/Memory_Handling/vmalloc.h" #ifndef _HISTOGRAM_H #define _HISTOGRAM_H diff -r 0d2f5b1db610 -r 5d1597d9b24a __brch__MC_shared --- a/__brch__MC_shared Tue Mar 13 18:31:05 2012 -0700 +++ b/__brch__MC_shared Mon Sep 03 15:04:33 2012 -0700 @@ -1,4 +1,4 @@ This branch is for the project structure defined Jan 2012.. the #includes reflect this directory structure. -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. +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.