refactor spheres

This commit is contained in:
James E McClure
2018-05-16 10:19:31 -04:00
parent 74b6a40925
commit a45524acb0
3 changed files with 10 additions and 5 deletions

View File

@@ -14,6 +14,14 @@
#include "common/Database.h"
#include "common/SpherePack.h"
// Inline function to read line without a return argument
static inline void fgetl( char * str, int num, FILE * stream )
{
char* ptr = fgets( str, num, stream );
if ( 0 ) {char *temp = (char *)&ptr; temp++;}
}
void WriteLocalSolidID(char *FILENAME, char *ID, int N)
{
char value;