zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

ScratchString.h (365B)


      1 #pragma once
      2 #define SCRATCH_SIZE 128
      3 
      4 namespace zyn {
      5 
      6 //Fixed Size String Substitute
      7 struct ScratchString
      8 {
      9     ScratchString(void);
     10     ScratchString(int num);
     11     ScratchString(unsigned char num);
     12     ScratchString(const char *str);
     13 
     14     ScratchString operator+(const ScratchString s);
     15 
     16     //operator const char*() const;
     17 
     18     char c_str[SCRATCH_SIZE];
     19 };
     20 
     21 }
     22