Advertisement
Guest User

MikelSV Cxx result

a guest
Nov 10th, 2015
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.48 KB | None | 0 0
  1. // malloc, heap, local, global, virt, virtex,
  2. #define MSVCOREIM_LIST malloc//, free, HeapAlloc, HeapFree, LocalAlloc, LocalFree, GlobalAlloc, GlobalFree, VirtualAlloc, VirtualFree, VirtualAllocEx, VirtualFreeEx
  3. #define MSVCOREIM_MULTI(func, q/*, w, e, r, t, y, u, i, o, p, a, s*/) func(::q);// func(w); //func(e);// func(r); func(t); func(y); func(u); func(i);// func(o); func(p); func(a); func(s);
  4.  
  5.  
  6. // Calls
  7. #define MSVCOREIMC_malloc malloc, void*, int sz
  8. #define MSVCOREIMC_free void, void *v
  9.  
  10. #ifdef MSVXCCTEMPLATE
  11.     #define MSVCORE_RN  "\r\n"
  12.     #define MSVCOREIM_DEFINE1(name, ret, ...) :#define MSVCOREIMF_ ## name ## _r ret
  13.     #define MSVCOREIM_DEFINE2(name, ret, ...) :#define MSVCOREIMF_ ## name ## _p __VA_ARGS__
  14.     #define MSVCOREIM_DEFINE(name, ret, ...) MSVCOREIM_DEFINE1(name, ret, __VA_ARGS__) ::::: MSVCOREIM_DEFINE2(name, ret, __VA_ARGS__)
  15.  
  16.     //MSVCOREIM_DEFINE(malloc, ::MSVCOREIMC_malloc);
  17.     MSVCOREIM_MULTI(MSVCOREIM_DEFINE, MSVCOREIMC_malloc);
  18.    
  19.  
  20.     //MSVCOREIM_DEFINE2(malloc, ::MSVCOREIMC_malloc);
  21.     //#define MSVCOREIM_CON(name) int call_ ## name; //MSVCORE_ ## name call_ ## name;
  22.     //#define MSVCOREIM_DEFINE(ret, name, pars) #define MSVCOREIMF_ ## malloc ## _r ret
  23.     //#define MSVCOREIMF_malloc_p int sz
  24.     //
  25. #else
  26. // MSV CppXcc v.0.0.0.1 (07.11.2015 05:59) Do Not Write To This Block, All Data Well Be Rewrite On Update!
  27. // ##MD5: 8240df4a54e5a32b46b0510edef501b3 : 10.11.15 11:49:50
  28.    #define MSVCOREIMF_malloc_r void *
  29.  #define MSVCOREIMF_malloc_p int sz ;  ;
  30.  
  31.  
  32. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement