You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then call sfdc like this: sfdc --mode=clib foobar_lib.sfd
The generated file will contain a prototype for public_foobar(), but not for private_foobar(). This might be desired when generating proto files for the public, but for generating private proto files it is not very convenient. The same applies for --mode=macros.
However, with --mode=gateproto, --mode=gatestubs, --mode=interface (and possibly some more modes) even private functions are included in the output.
The text was updated successfully, but these errors were encountered:
Currently sfdc will omit all private functions when generating the clib/proto file.
For example having function definitions like this:
Then call sfdc like this:
sfdc --mode=clib foobar_lib.sfd
The generated file will contain a prototype for public_foobar(), but not for private_foobar(). This might be desired when generating proto files for the public, but for generating private proto files it is not very convenient. The same applies for --mode=macros.
However, with --mode=gateproto, --mode=gatestubs, --mode=interface (and possibly some more modes) even private functions are included in the output.
The text was updated successfully, but these errors were encountered: