diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-13 12:47:24 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-13 12:50:02 +0100 |
commit | 411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (patch) | |
tree | a3c28058efb7a80faed23bff683fe0931859ed52 /platform/bb10/payment_service.cpp | |
parent | bf64df4427836a4e7a5060ee11d75eea6da79b14 (diff) |
Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer
This is a step towards fixing #56
Diffstat (limited to 'platform/bb10/payment_service.cpp')
-rw-r--r-- | platform/bb10/payment_service.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/bb10/payment_service.cpp b/platform/bb10/payment_service.cpp index 3138dc2c1d..131c9712a5 100644 --- a/platform/bb10/payment_service.cpp +++ b/platform/bb10/payment_service.cpp @@ -38,11 +38,11 @@ extern char* launch_dir_ptr; void PaymentService::_bind_methods() { - ClassDB::bind_method(_MD("request_product_info"),&PaymentService::request_product_info); - ClassDB::bind_method(_MD("purchase"),&PaymentService::purchase); + ClassDB::bind_method(D_METHOD("request_product_info"),&PaymentService::request_product_info); + ClassDB::bind_method(D_METHOD("purchase"),&PaymentService::purchase); - ClassDB::bind_method(_MD("get_pending_event_count"),&PaymentService::get_pending_event_count); - ClassDB::bind_method(_MD("pop_pending_event"),&PaymentService::pop_pending_event); + ClassDB::bind_method(D_METHOD("get_pending_event_count"),&PaymentService::get_pending_event_count); + ClassDB::bind_method(D_METHOD("pop_pending_event"),&PaymentService::pop_pending_event); }; Error PaymentService::request_product_info(Variant p_params) { |