I would like to have a function written in C, but called from C ++, which takes a limited pointer. This is only available in c99, so g ++ does not like it, even in blocks extern "C". How can I get around this limitation?
extern "C"
#ifdef __cplusplus # ifdef __GNUC__ # define restrict __restrict__ // G++ has restrict # else # define restrict // C++ in general doesn't # endif #endif
Source: https://habr.com/ru/post/1764258/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1764253/jquery-pull-navigational-focus-to-a-particular-link-on-page-load&usg=ALkJrhiT1hQB3tUvP5dsxj4vChEQ-h8SvgКак использовать Compass с symfony? - sassGoogle App Engine (GAE), Urban Airship, Java, Push-уведомления. Образец кода? - google-app-engineJPA Query toString - javaSVG rendering in Java using SWT - Batik too slow - javaHow to deal with the temporary storage of downloaded files - djangoCan you change a row in PostgresSQL? - postgresqlImageView scaling - androidSource fonts and terminal fonts - htmlHow to use ThreadSafeClientConnManager.requestConnection (HttpRoute route, object state) - androidAll Articles