Skip to content

Commit

Permalink
ConstAmxString-AmxString conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
IS4Code committed Apr 19, 2019
1 parent 6659367 commit 9f9b5f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pawno/include/PawnPlus.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,9 @@ forward String:operator=(ConstString:arg);
native AmxString:operator=(String:arg) = str_addr;
native ConstAmxString:operator=(String:arg) = str_addr;
native ConstAmxString:operator=(ConstString:arg) = str_addr;
stock ConstAmxString:operator=(AmxString:arg) return ConstAmxString:arg;
forward AmxString:operator=(ConstString:arg);
forward AmxString:operator=(ConstAmxString:arg);
native AmxStringBuffer:operator=(String:arg) = str_buf_addr;

stock AmxStringBuffer:operator+(AmxStringBuffer:arg1, arg2) return AmxStringBuffer:(_:arg1+arg2);
Expand Down

0 comments on commit 9f9b5f5

Please sign in to comment.