Skip to content

Commit

Permalink
AP_Scripting: optimise genrated bindings for size
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 authored and tridge committed Oct 11, 2021
1 parent c1dbb1c commit 0f8bcbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Scripting/generator/src/main.c
Expand Up @@ -2151,6 +2151,7 @@ int main(int argc, char **argv) {

sanity_check_userdata();

fprintf(source, "#pragma GCC optimize(\"Os\")\n");
fprintf(source, "#include \"lua_generated_bindings.h\"\n");
fprintf(source, "#include <AP_Scripting/lua_boxed_numerics.h>\n");

Expand Down

0 comments on commit 0f8bcbf

Please sign in to comment.