My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 144 attachment: StdLibs.h.patch (475 bytes)

1
2
3
4
5
6
7
8
9
10
11
--- trunk/include/hx/StdLibs.h
+++ trunk/include/hx/StdLibs.h
@@ -124,7 +124,7 @@
extern unsigned char *__hxcpp_memory;

inline void __hxcpp_memory_clear( ) { __hxcpp_memory = 0; }
-inline void __hxcpp_memory_select( Array<unsigned char> &inBuffer )
+inline void __hxcpp_memory_select( Array<unsigned char> inBuffer )
{ __hxcpp_memory= (unsigned char *)inBuffer->GetBase(); }

inline int __hxcpp_memory_get_byte(int addr) { return __hxcpp_memory[addr]; }
Powered by Google Project Hosting