cleanup: add/fix comments

This commit is contained in:
Ross Kinder
2015-12-23 14:44:38 -05:00
parent 25d9ec2994
commit 064bef37e7
5 changed files with 16 additions and 6 deletions

View File

@@ -1,9 +1,11 @@
package xmlsec
// onError_cgo is a C function that can be passed to xmlSecErrorsSetCallback which
// in turn invokes the go function onError which captures the error.
// in turn invokes the go function onError which captures errors generated by
// libxmlsec.
//
// For reasons I do not completely understand, it must be defined in a different
// file from onError
// file from onError.
// void onError_cgo(char *file, int line, char *funcName, char *errorObject, char *errorSubject, int reason, char *msg) {
// onError(file, line, funcName, errorObject, errorSubject, reason, msg);